Skip to content

[web:a11y] reconsider applying role="dialog" to arbitrary routes #168247

Closed

Description

@yjbanov

Currently, the web engine applies role="dialog" as a default fallback for all routes. This logic predates SemanticsRole.dialog and SemanticsRole.alertDialog. Because the engine couldn't tell if a route is a dialog it used the dialog role just in case. This seems no longer necessary now that we have the formal roles, so perhaps it is time to remove this fallback. Basically, the proposal is to remove this line:

Activity

  1. added
    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)
    platform-webWeb applications specifically
    P2Important issues not at the top of the work list
    team-webOwned by Web platform team
    triaged-webTriaged by Web platform team
    fyi-accessibilityFor the attention of Framework Accessibility team
    on May 2, 2025
  2. self-assigned this
    on May 2, 2025
  3. flutter-zl commented on May 12, 2025

    @flutter-zl
    Contributor

    Fixed in #168345. Feel free to reopen if issue persists.

  4. github-actions commented on May 26, 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.

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

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: castawayfyi-accessibilityFor the attention of Framework Accessibility teamplatform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions