Skip to content

LiveAnnouncer should have a global duration to remove the text  #15121

Closed
@jasonzhang2022

Description

@jasonzhang2022

Please describe the feature you would like to request.

  1. set a global duration,
  2. LiveAnnouncer.annouce(text)
  3. the text is removed from DOM after global duration.

What is the use-case or motivation for this proposal?

When I open a MatDialog, I use screen reader(Voice Over) VO plus left arrow to do linear navigation. When I come to the beginning of dialog, I shouldn't be able to navigate to anywhere. However, I navigated to the DOM for LiveAnnouncer if LiveAnnoucer is used once.

I can use announce(text, duration) to work around this. This requires a duration for every announce call.

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions