Skip to content

bug(LiveAnnouncer): LiveAnnouncer does not announce subsequent calls to the same text #21507

@DmitryEfimenko

Description

@DmitryEfimenko

Reproduction

Use StackBlitz to reproduce your issue:

Steps to reproduce:

  1. Open StackBlitz link from above
  2. Enable Narrator (on Windows press Windows key + Ctrl + Enter)
  3. Click on "Hello world" button multiple times
  4. Observe that Narrator announces text only on the first click

Note that if text to announce changes, the announcer works as expected. You can reproduce that by pressing on "Announce Different" button multiple times.

Expected Behavior

Narrator should announce text on each click

Actual Behavior

Narrator announces text only on the first click if the text being announced didn't change

Environment

  • Angular:
  • CDK/Material: 11.0.3
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions