Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Feat: <md-aria-status> directive to be consumed by mdToast and mdAutocomplete  #3174

Closed
@marcysutton

Description

@marcysutton

To enable $mdToast accessibility, Angular Material needs a global version of the <aria-status> directive used in mdAutocomplete. A single Live Region directive for an entire app, which could be used by multiple components as a reusable message center. It would also make screen reader messages easier to localize, per #1696. This should be part of the core functionality to ensure its inclusion for Angular Material components, though I could see a message service being useful for other live regions.

mdAutocomplete uses aria-live="assertive" so that messages will be announced immediately as you type, but I'm investigating whether it can use aria-live="polite", which would be more appropriate for mdToast. Components using the global directive will have to share live region settings, as far as I know (role, atomic, relevant, etc.).

Metadata

Metadata

Assignees

Labels

- Breaking ChangeP4: minorMinor issues. May not be fixed without community contributions.a11yThis issue is related to accessibility

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions