-
Notifications
You must be signed in to change notification settings - Fork 363
chore(page): updated examples to provide a11y labels #11740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(page): updated examples to provide a11y labels #11740
Conversation
Preview: https://patternfly-react-pr-11740.surge.sh A11y report: https://patternfly-react-pr-11740-a11y.surge.sh |
I have added a11y labels to only the page examples but the |
I'll create a new PR to update rest of the examples and link it to this one. Will make it easier to review. |
packages/react-core/src/components/Page/examples/PageGroupSection.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Page/examples/PageHorizontalNav.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Page/examples/PageMainSectionVariations.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Page/examples/PageWithOrWithoutFill.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/demos/DataList/examples/DataListActionable.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/demos/DescriptionList/examples/DescriptionListInDrawer.tsx
Outdated
Show resolved
Hide resolved
eb837cb
to
2009a4f
Compare
@thatblindgeye made the necessary changes in reference to your comments. |
Yeah definitely out of scope of this PR. May not be a bad thing to make updates for, but not an urgent thing to be tackled either. |
<p> | ||
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br /> | ||
of it’s relative line height of 1.5. | ||
</p> | ||
</Content> | ||
</PageSection> | ||
<PageSection> | ||
<PageSection aria-label = 'Cards gallery'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: can we just update cases of the whitepspace around the = and remove them? aria-label='
instead and such
packages/react-core/src/demos/examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Page/examples/PageVerticalNav.tsx
Outdated
Show resolved
Hide resolved
fe4119b
to
41da6ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
Your changes have been released in:
Thanks for your contribution! 🎉 |
Closes #10173