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

feat: support dialog behaviours #47

Closed
jlp-craigmorten opened this issue Feb 6, 2024 · 1 comment
Closed

feat: support dialog behaviours #47

jlp-craigmorten opened this issue Feb 6, 2024 · 1 comment

Comments

@jlp-craigmorten
Copy link
Contributor

See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role#possible_effects_on_user_agents_and_assistive_technology

When the dialog is correctly labeled and focus is moved to an element (often an interactive element, such as a button) inside the dialog, screen readers should announce the dialog's accessible role, name and optionally description, along with announcing the focused element.

Although this is not normative, but MDN's opinion (with a disclaimer saying as such), testing with NVDA and VoiceOver this appears to be the case and seems not unreasonable to implement.

Originally posted by @jlp-craigmorten in #12 (comment)

@cmorten
Copy link
Contributor

cmorten commented Feb 7, 2024

Have commented in w3c/aria#1195 (comment) where the associated PR w3c/aria#2054 adds clarity that this will likely be a SHOULD expectation on assistive technology.

As the draft stands:

Assistive technology SHOULD give precedence to exposing author defined dialog accessible descriptions when a dialog is invoked and user focus is moved to a descendant of the dialog element.

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

No branches or pull requests

2 participants