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

Turn error message container into a live region #353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scottaohara
Copy link
Member

presently if someone were to cause a validation error with one of the date picker fields, error messages will appear at the bottom of the dialog. However, as these messages are not presently injected into a live region, these error messages will not be exposed to screen reader users - failing wcag 4.1.3 Status Messages.

This PR adds an aria-live=assertive to the tsi-errorMessageContainer which will help ensure that these messages are announced when they dynamically appear.

presently if someone were to cause a validation error with one of the date picker fields, error messages will appear at the bottom of the dialog.  However, as these messages are not presently injected into a live region, these error messages will not be exposed to screen reader users - failing wcag 4.1.3 Status Messages.

This PR adds an `aria-live=assertive` to the `tsi-errorMessageContainer` which will help ensure that these messages are announced when they dynamically appear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant