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

Admin Accessibility: Displaying Errors #2171

Open
carlj11 opened this issue Apr 2, 2024 · 0 comments
Open

Admin Accessibility: Displaying Errors #2171

carlj11 opened this issue Apr 2, 2024 · 0 comments
Labels

Comments

@carlj11
Copy link

carlj11 commented Apr 2, 2024

In admin mode, errors may appear silently to screen reader users (e.g., receiving an error on save)

• use role=“alert” on each error message when adding to the DOM

• or add html to an existing container whose attributes include a live region role or other live region attribute

o roles: “status” and “log”

o attributes: aria-live, aria-atomic

• see the following to learn more about live regions and alerts
o ARIA live regions - Accessibility | MDN.

Note: I'm adding issues based on feedback from our Institute Accessibility Office test team. I'll do my best to answer questions but, as necessary, may need to ask for more detailed information from the testers who documented the issue.

@kimisgold kimisgold added the a11y label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants