-
Notifications
You must be signed in to change notification settings - Fork 26
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
STCOR-931: Change Help icon aria label to just Help in MainNav component #1593
Conversation
Bigtest Unit Test Results189 tests ±0 184 ✅ ±0 6s ⏱️ ±0s Results for commit c3c4da3. ± Comparison against base commit 8f06b7e. This pull request removes 191 and adds 189 tests. Note that renamed tests count towards both.
This pull request removes 5 skipped tests and adds 5 skipped tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
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 is the right fix but it's the wrong problem. I'm approving based on that, but The Real Right Way to fix this is with a new translations key:
aria-label={intl.formatMessage({ id: 'stripes-core.help' })}
as seen a few lines up on line 191. Then it'll have the correct label in any locale, not just English. Please consider implementing this change before you merge.
|
https://folio-org.atlassian.net/browse/STCOR-931
Here we changed the
aria-label
inMainNav
component from "Help button" to "Help" regarding screen-reader recommendations.