Skip to content

bug(dialog): Chromevox doesn't announce dialog role #21840

Closed

Description

@calebegg

Activity

  1. added
    needs triage
    on Feb 8, 2021
  2. crisbeto commented on Feb 8, 2021

    @crisbeto
    Member

    I spent a bit of time looking into it and the problem seems to be due to the fact that we move focus to the dialog container until the content is rendered and we can move it to the first focusable element. The reason we move focus to the dialog is so that the user doesn't accidentally open multiple dialogs while the current dialog is animating. An alternate approach could be to blur the focused element while the dialog is animating, but that might not be ideal for accessibility either.

  3. added
    Accessibility
    G
    P3
    and removed
    needs triage
    on Feb 8, 2021
  4. jelbourn commented on Jun 16, 2021

    @jelbourn
    Contributor

    Possibly the same thing as #10591

    This came up during our most recent round of testing. It looks like it only occurs when

    • The dialog is not configured to focus the dialog element on open
    • Animations are enabled
  5. self-assigned this
    on Jun 29, 2021
  6. Splaktar commented on Jun 29, 2021

    @Splaktar
    Contributor

    I can reproduce this with the MDC-dialog in the dev-app. When the dialog is opened, either the focused input is read ("How much? Edit text") or the focused button is read ("Close Button Press Search plus Space to activate"). In both cases, no indication is given that a modal dialog has been opened and that focus has been moved inside of that modal dialog.

    If you press Search+Up Arrow enough times, you will eventually get to the dialog and get "Neptune Dialog" read out. So it's there, but as Kristiyan mentioned, the rapid swap of the focus to the dialog container and then to the first focusable element causes the screen reader to bail out and announce nothing.

  7. added a commit that references this issue on Jun 29, 2021
    71cd3a5
  8. added 3 commits that reference this issue on Jun 30, 2021
    5721d54
    0e636aa
    abffbf3
  9. 7 remaining items

  10. added 11 commits that reference this issue on Jul 27, 2021
    6cc3644
    5198c0e
    78ea4b4
    cfb47a4
    c2313a4
    e6b838d
    087ed2c
    a891034
    235b0bc
    72bd6c6
    5dd0503
  11. added a commit that references this issue on Aug 13, 2021
    728cf1c
  12. angular-automatic-lock-bot commented on Sep 13, 2021

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  13. locked and limited conversation to collaborators on Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AccessibilityGP3area: material/dialog

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions