You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
This is still an issue, and it has implications for other components such as <md-button> (which is used with <md-tooltip>. No label is required on <md-icon> itself, leaving the parent element responsible for labeling (and throwing errors). For example:
This fails for accessibility because <md-tooltip> does not provide an accessible name for <md-button>. This should be the responsibility of <md-icon>, either by providing aria-label or some other labeling mechanism.
If we enforce aria-label on <md-icon>, we will need to update $mdAria.expect to check for aria-label on child nodes. Opened issue #567.
To be accessible,
<md-icon>
needs two things:aria-label
should be enforced. (see Improving aria-label warnings #344)<object>
tag needswmode="opaque"
orwmode="transparent"
since it is for presentation only (Flash a11y best practices)I remember something about a refactor possibly forthcoming, I just wanted to capture these requirements.
The text was updated successfully, but these errors were encountered: