-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(icon): set aria-hidden * docs: set aria-hidden attribute of nx-icon in examples * fix: set aria-hidden attribute of nx-icon in components --------- Co-authored-by: Philipp Fahrenschon <[email protected]>
- Loading branch information
1 parent
8ae0652
commit d7f47de
Showing
88 changed files
with
423 additions
and
198 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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
projects/ng-aquila/documentation/examples/avatar/avatar/avatar-example.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
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
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
10 changes: 5 additions & 5 deletions
10
projects/ng-aquila/documentation/examples/button/button-icon/button-icon-example.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,15 +1,15 @@ | ||
<button nxIconButton="primary" aria-label="send mail" type="button"> | ||
<nx-icon name="mail-o"></nx-icon> | ||
<nx-icon name="mail-o" aria-hidden="true"></nx-icon> | ||
</button> | ||
<button nxIconButton="secondary" aria-label="like on facebook" type="button"> | ||
<nx-icon name="facebook"></nx-icon> | ||
<nx-icon name="facebook" aria-hidden="true"></nx-icon> | ||
</button> | ||
<button nxIconButton="tertiary" aria-label="tweet" type="button"> | ||
<nx-icon name="twitter"></nx-icon> | ||
<nx-icon name="twitter" aria-hidden="true"></nx-icon> | ||
</button> | ||
<button nxIconButton="cta" aria-label="send mail" type="button"> | ||
<nx-icon name="mail"></nx-icon> | ||
<nx-icon name="mail" aria-hidden="true"></nx-icon> | ||
</button> | ||
<button nxIconButton="emphasis" disabled aria-label="send mail" type="button"> | ||
<nx-icon name="mail-o"></nx-icon> | ||
<nx-icon name="mail-o" aria-hidden="true"></nx-icon> | ||
</button> |
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
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
16 changes: 10 additions & 6 deletions
16
...ts/ng-aquila/documentation/examples/button/button-with-icon/button-with-icon-example.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,21 +1,25 @@ | ||
<button nxButton="primary" type="button"> | ||
<nx-icon name="download" nxIconPositionStart></nx-icon>Download | ||
<nx-icon name="download" nxIconPositionStart aria-hidden="true"></nx-icon | ||
>Download | ||
</button> | ||
<button nxButton="secondary" type="button"> | ||
<nx-icon name="arrow-right" nxIconPositionEnd></nx-icon> | ||
<nx-icon name="arrow-right" nxIconPositionEnd aria-hidden="true"></nx-icon> | ||
next | ||
</button> | ||
<button nxButton="tertiary" type="button"> | ||
<nx-icon name="arrow-right" nxIconPositionStart></nx-icon>Details | ||
<nx-icon name="arrow-right" nxIconPositionStart aria-hidden="true"></nx-icon | ||
>Details | ||
</button> | ||
|
||
<button nxButton="primary small" type="button"> | ||
<nx-icon name="download" nxIconPositionStart></nx-icon>Download | ||
<nx-icon name="download" nxIconPositionStart aria-hidden="true"></nx-icon | ||
>Download | ||
</button> | ||
<button nxButton="secondary small" type="button"> | ||
<nx-icon name="arrow-right" nxIconPositionEnd></nx-icon> | ||
<nx-icon name="arrow-right" nxIconPositionEnd aria-hidden="true"></nx-icon> | ||
next | ||
</button> | ||
<button nxButton="tertiary small" type="button"> | ||
<nx-icon name="arrow-right" nxIconPositionStart></nx-icon>Details | ||
<nx-icon name="arrow-right" nxIconPositionStart aria-hidden="true"></nx-icon | ||
>Details | ||
</button> |
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
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
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
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
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
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
Oops, something went wrong.