Fix accessibility violation in VersionPicker (Visible label mismatch)#42593
Fix accessibility violation in VersionPicker (Visible label mismatch)#42593huangkevin-apr wants to merge 1 commit intogithub:mainfrom
Conversation
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. This pull request contains code changes, so we will not generate a table of review links. 🤖 This comment is automatically generated. |
|
👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:
You'll need to revert all of the files you changed that match that list using GitHub Desktop or The complete list of files we can't accept are:
We also can't accept contributions to files in the content directory with frontmatter |
|
👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:
You'll need to revert all of the files you changed that match that list using GitHub Desktop or The complete list of files we can't accept are:
We also can't accept contributions to files in the content directory with frontmatter |
Why:
Closes: #42592
What's being changed (if available, include any code snippets, screenshots, or gifs):
This PR fixes an accessibility violation in the VersionPicker component where the accessible name (aria-label) did not contain the visible label text, violating WCAG 2.1 Level A (Label in Name - 2.5.3).
Testing
Fix Before

Fix After

Check off the following: