-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(icon): use a11y-title instead of a11y-label
The most accesssible way to label an svg icon is to use a title element in the svg itself. This is better than using aria-label which should be reserved for cases where an accessible name can not be derived. See this page for more details: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title
- Loading branch information
1 parent
95270be
commit 4dd8bfb
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters