Skip to content

conflict resolution for multiple uses of aria-modal #1290

@cookiecrook

Description

@cookiecrook

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions