This repository has been 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
Labels
- Breaking Change
a11y
This issue is related to accessibility
P4: minor
Minor issues. May not be fixed without community contributions.
Milestone
To enable
$mdToast
accessibility, Angular Material needs a global version of the<aria-status>
directive used inmdAutocomplete
. 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 usearia-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.).The text was updated successfully, but these errors were encountered: