-
Notifications
You must be signed in to change notification settings - Fork 282
A11y report fixes #14530
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
A11y report fixes #14530
Conversation
1392a97
to
4df25b8
Compare
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
pkg/rancher-components/src/components/LabeledTooltip/LabeledTooltip.vue
Outdated
Show resolved
Hide resolved
@rak-phillip add pr comments addressed. Ready for another go |
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.
Looks reasonable to me
…ontain <li>, <script> or <template> elements
2ca2a78
to
8200e29
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.
LGTM
We found a regression introduced by current PR, @aalves08 could you take a look ? |
On it @torchiaf 👍 |
Summary
Fixes #14556
Work done was based on this report with

219
violations:accessibility-report (5).zip
Current status after this PR is

64
violations, as per:Occurred changes and/or fixed issues
item 2: All page content should be contained by landmarks
Commit: e281019
Changes:
SlideInPanel
,PluginInfoPanel
,SlideInPanelManager
andAppModal
wasn't being contained by landmark items4. Elements must only use permitted ARIA attributes
Commit: 41bb10e
Changes:
roles
in different pages/components6. ARIA attributes must conform to valid values
Commit: b85b1f7
Changes:
aria-controls
and add missingrole
andid
7. "ul" and "ol" must only directly contain "li", "script" or "template" elements
Commit: a4b3a8d
Changes:
div
forli
as direct child oful
inWizard
component8. Interactive controls must not be nested
Commit: f472572
Changes:
Group
component in order to have "chevron" tabbable item as sibling of router-link in order to comply with a11y specsBefore PR


After PR (no visual or usability regresssions)


10. ARIA toggle fields must have an accessible name
Commit: d1154ef
Changes:
Checkbox
component where usinglabelKey
the translation tag<t>
wasn't inherithing theid
used for internalaria-labelledby
11. autocomplete attribute must be used correctly
Commit: 264c72f
Changes:
autocomplete
attribute12. Form elements must have labels
Commit: 0189291 + a1ab1d8
Changes:
aria-hidden
to "hidden" inputs so that assistive technologies and a11y tests won't pick them up14. ARIA input fields must have an accessible name
Commit: 5796087
Changes:
aria-label
onNamespaceFilter
component15. Buttons must have discernible text
Commit: 97d9003
Changes:
aria-label
to header actions (buttons) coming from extensions + plus and minus actions onTabbed
(Tabs) component16. Images must have alternative text
Commit: b62608e
Changes:
alt
to header actions (buttons) icons coming from extensions17. ARIA role should be appropriate for the element
Commit: 4df25b8 + ad80144
Changes:
type="number"
had wrongfulrole="textbox"
(role is inherent) +label
html elements cannot haverole="columnheader"
Technical notes summary
Areas or cases that should be tested
Areas which could experience regressions
Screenshot/Video
Checklist