Skip to content

Flutter Web: Modal dialogs and modal alert dialogs require the aria-modal property (Accessibility) #162124

Closed

Description

@jcollins-disney

Use case

The WAI-ARIA property aria-modal="true" must be available on all modal dialogs and modal alert dialogs so users cannot interact with content outside an active dialog window.

Proposal

Add the WAI-ARIA property aria-modal="true" to the list of semantics flags on the container element for modals and alert modals.

Activity

  1. changed the title [-]Flutter Web: Modal dialogs and modal alert dialogs require the aria-modal property[/-] [+]Flutter Web: Modal dialogs and modal alert dialogs require the aria-modal property (Accessibility)[/+] on Jan 24, 2025
  2. added
    in triagePresently being triaged by the triage team
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)
    platform-webWeb applications specifically
    c: proposalA detailed proposal for a change to Flutter
    f: focusFocus traversal, gaining or losing focus
    team-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)
    and removed
    in triagePresently being triaged by the triage team
    f: focusFocus traversal, gaining or losing focus
    on Jan 24, 2025
  3. added
    P1High-priority issues at the top of the work list
    on Feb 3, 2025
  4. self-assigned this
    on Feb 3, 2025
  5. moved this to In Progress in Framework A11y Hotliston Feb 5, 2025
  6. chunhtai commented on Feb 11, 2025

    @chunhtai
    Contributor

    If using role dialog or alertdialog, it will automatically have aria-modal property. Let me know if that doesn't work for you

  7. github-actions commented on Feb 28, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Fluttercustomer: castawayframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)triaged-accessibilityTriaged by Framework Accessibility team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions