-
Notifications
You must be signed in to change notification settings - Fork 12
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
va-select: Add aria-describedby-message for screen readers #1105
Conversation
|
||
const errorID = uswds ? 'input-error-message': 'error-message'; |
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.
I don't see a reason to keep these error message IDs different. Should we update this to be the same across both versions? Or not worth the effort?
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.
I would say not worth the effort, we'll be removing the V1 versions of components in a couple months anyways.
|
||
const errorID = uswds ? 'input-error-message': 'error-message'; |
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.
I would say not worth the effort, we'll be removing the V1 versions of components in a couple months anyways.
I'm unable to test this in the Chromatic link because the link is broken (branch name is too long. It should to be 37 characters or less). Has it been verified to work with a screenreader? |
Working with screen reader, added screenshot |
Chromatic
https://dst25-87-va-select-add-aria-describedby--65a6e2ed2314f7b8f98609d8.chromatic.com
Description
Adds
aria-describedby
tova-select
for screen readers.Closes va-select needs describedby property #2587
QA Checklist
Designer has signed off on changes (if applicable. If not applicable provide reason why)No design changesScreenshots
No visual changes
Screen reader text:
Acceptance criteria
Definition of done