-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(a11y): wai aria label for icon component
- Loading branch information
1 parent
072df92
commit 3bfe2b4
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
projects/design-angular-kit/src/lib/components/utils/icon/icon.component.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<svg [class]="iconClass"> | ||
<svg [attr.aria-hidden]="isAriaHidden" [attr.aria-label]="labelWaria" [class]="iconClass"> | ||
<use [attr.href]="iconHref" [attr.xlink:href]="iconHref"></use> | ||
</svg> |
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