Skip to content
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

Accessibility: Minor fixes #37616

Merged
merged 3 commits into from
Jan 2, 2023

Conversation

louismaximepiton
Copy link
Member

@louismaximepiton louismaximepiton commented Dec 9, 2022

Description

Adding some missing aria-label on toggler buttons.
Add an aria-hidden to the <div> wrapping content outside any role/hide an input that doesn't have any <label>.

Motivation & Context

Raises some errors with aXe devtools.

Type of changes

  • Refactoring (non-breaking change)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Live previews

Related issues

NA

Copy link

@davesheffer davesheffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes where viewed and looked ok

Copy link
Member

@patrickhlauke patrickhlauke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually quite concerned that these errors slipped into our docs in the first place. good spot.

@julien-deramond
Copy link
Member

Hey @louismaximepiton. Could you please resolve the conflicts so that the PR can be merged :)

@patrickhlauke
Copy link
Member

Fixed the merge conflicts for you @louismaximepiton

@patrickhlauke patrickhlauke merged commit 0d64dc6 into twbs:main Jan 2, 2023
@louismaximepiton louismaximepiton deleted the main-lmp-a11y-fixes branch January 6, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants