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

conflict resolution for multiple uses of aria-modal #1290

Open
cookiecrook opened this issue Jun 18, 2020 · 0 comments
Open

conflict resolution for multiple uses of aria-modal #1290

cookiecrook opened this issue Jun 18, 2020 · 0 comments
Labels
Milestone

Comments

@cookiecrook
Copy link
Contributor

cookiecrook commented Jun 18, 2020

The spec does not mention how to resolve a conflict if a document contains multiple instances of aria-modal="true"

Some ideas:

  • nested modals (a.k.a. dialog stacks) should probably be allowed
  • unrelated modals (one is not an ancestor of the other) should be considered in conflict, but how to resolve:
    • Both are invalidated?
    • latest in DOM order wins? WebKit currently behaves this way.
    • Most recently shown modal wins? Probably difficult to implement as "shown" can be ambiguous.
    • Highest modal in z-order wins? Also potentially difficult to implement.
@jnurthen jnurthen added this to the ARIA 1.3 milestone Jun 18, 2020
@jnurthen jnurthen modified the milestones: ARIA 1.3, ARIA 1.4 May 6, 2021
@jnurthen jnurthen added the bug label Sep 9, 2023
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