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

Accessibility: ModalDialog #3651

Open
alansemenov opened this issue Jul 10, 2024 · 0 comments
Open

Accessibility: ModalDialog #3651

alansemenov opened this issue Jul 10, 2024 · 0 comments
Labels
A11y Accessibility issues: something doesn't work for every

Comments

@alansemenov
Copy link
Member

alansemenov commented Jul 10, 2024

role="dialog"
aria-modal="true"
aria-labelledby=h2.title (use id)
aria-describedby=h6.subtitle (optional, use id)

On open should focus the main action button.
On close should set focus on the element that opened the dialog.

@alansemenov alansemenov added the A11y Accessibility issues: something doesn't work for every label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11y Accessibility issues: something doesn't work for every
Projects
None yet
Development

No branches or pull requests

1 participant