Skip to content

bug(LiveAnnouncer): Repeated message is not announced #27602

@eitak

Description

@eitak

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

LiveAnnouncer does not announce a message when it is the same as the last announced message
(using MacOS VoiceOver + Chrome).

Reproduction

Using MacOS VoiceOver + Chrome

StackBlitz link: https://stackblitz.com/edit/components-issue-1j77ug?file=src%2Fapp%2Fexample-component.ts

Steps to reproduce:

  1. Turn on VoiceOver
  2. Open StackBlitz link
  3. Click "Announce Hello" button
    -> VoiceOver announces "Hello"
  4. Click "Announce Hello" button again
    -> Expected: VoiceOver announces "Hello"
    -> Actual: No announcement

Expected Behavior

VoiceOver announces the message.

Actual Behavior

VoiceOver did not announce the message.

Environment

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions