-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: (Core) address accessibility issues for the Object marker compon…
…ent (#4081) * fixing the Accessibility issue for the Object marker component fixing the Accessibility issue for the Object marker component
- Loading branch information
1 parent
36b7d69
commit a635126
Showing
8 changed files
with
37 additions
and
28 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
...s/src/app/core/component-docs/object-marker/examples/object-marker-example.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,5 +1,5 @@ | ||
<span fd-object-marker glyph="add-favorite" title="Favorite" aria-label="Favourite Icon" aria-hidden="true"></span> | ||
<span fd-object-marker glyph="flag" title="Flag" aria-label="Favourite Flag" aria-hidden="true"></span> | ||
<span fd-object-marker glyph="request" title="Request" aria-label="Favourite Request" aria-hidden="true"></span> | ||
<span fd-object-marker glyph="user-edit" title="Editable" aria-label="Favourite Editable" aria-hidden="true"></span> | ||
<span fd-object-marker glyph="private" title="Private" aria-label="Favourite Private" aria-hidden="true"></span> | ||
<span fd-object-marker glyph="add-favorite" title="Favorite" aria-label="Favorite Icon"></span> | ||
<span fd-object-marker glyph="flag" title="Flag" aria-label="Favorite Flag"></span> | ||
<span fd-object-marker glyph="request" title="Request" aria-label="Favorite Request"></span> | ||
<span fd-object-marker glyph="user-edit" title="Editable" aria-label="Favorite Editable"></span> | ||
<span fd-object-marker glyph="private" title="Private" aria-label="Favorite Private"></span> |
13 changes: 9 additions & 4 deletions
13
.../app/core/component-docs/object-marker/examples/object-marker-text-example.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,4 +1,9 @@ | ||
<span fd-object-marker aria-label="Object Maker with Text" label="Draft"></span> | ||
<span fd-object-marker aria-label="Object Maker with Text" label="Request"></span> | ||
<a fd-object-marker clickable="true" aria-label="Object Maker with only Text Clickable" label="Locked"></a> | ||
<a fd-object-marker clickable="true" aria-label="Object Maker with only Text Clickable" label="Edit"></a> | ||
<span fd-object-marker aria-label="Object Marker with Text" label="Draft"></span> | ||
<span fd-object-marker aria-label="Object Marker with Text" label="Request"></span> | ||
<a | ||
fd-object-marker | ||
clickable="true" | ||
aria-label="Object Marker with only Text Clickable" | ||
label="Locked" | ||
></a> | ||
<a fd-object-marker clickable="true" aria-label="Object Marker with only Text Clickable" label="Edit"></a> |
9 changes: 3 additions & 6 deletions
9
...nt-docs/platform-object-marker/object-marker-example/object-marker-example.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,20 +1,17 @@ | ||
<fdp-object-marker | ||
glyph="add-favorite" | ||
ariaHidden="true" | ||
ariaLabel="favorite only icon" | ||
title="Favourite" | ||
title="Favorite" | ||
></fdp-object-marker> | ||
<fdp-object-marker glyph="flag" ariaHidden="true" ariaLabel="Flag only icon" title="Flag"></fdp-object-marker> | ||
<fdp-object-marker glyph="request" ariaHidden="true" ariaLabel="Request only icon" title="Request"></fdp-object-marker> | ||
<fdp-object-marker glyph="flag" ariaLabel="Flag only icon" title="Flag"></fdp-object-marker> | ||
<fdp-object-marker glyph="request" ariaLabel="Request only icon" title="Request"></fdp-object-marker> | ||
<fdp-object-marker | ||
glyph="user-edit" | ||
ariaHidden="true" | ||
ariaLabel="Editable only icon" | ||
title="Editable" | ||
></fdp-object-marker> | ||
<fdp-object-marker | ||
glyph="private" | ||
ariaHidden="true" | ||
ariaLabel="Private Icon only icon" | ||
title="Private" | ||
></fdp-object-marker> |
14 changes: 12 additions & 2 deletions
14
...m-object-marker/object-marker-example/object-marker-text-clickable-example.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,4 +1,14 @@ | ||
<fdp-object-marker glyph="user-edit" clickable="true" ariaLabel="Object Marker with Text Clickable" label="Editable"> | ||
<fdp-object-marker | ||
glyph="user-edit" | ||
clickable="true" | ||
ariaLabel="Object Marker with Text Clickable" | ||
label="Editable" | ||
> | ||
</fdp-object-marker> | ||
<fdp-object-marker glyph="private" clickable="true" ariaLabel="Object Marker with Text Clickable" label="Locked"> | ||
<fdp-object-marker | ||
glyph="private" | ||
clickable="true" | ||
ariaLabel="Object Marker with Text Clickable" | ||
label="Locked" | ||
> | ||
</fdp-object-marker> |
10 changes: 4 additions & 6 deletions
10
...atform-object-marker/object-marker-example/object-marker-text-only-example.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,8 +1,6 @@ | ||
<fdp-object-marker ariaLabel="Object Marker with Text" label="Draft"></fdp-object-marker> | ||
<fdp-object-marker fd-object-marker ariaLabel="Object Marker with Text" label="Request"></fdp-object-marker> | ||
<fdp-object-marker | ||
clickable="true" | ||
ariaLabel="Object Marker with only Text Clickable" | ||
label="Locked" | ||
></fdp-object-marker> | ||
<fdp-object-marker clickable="true" ariaLabel="Object Marker with only Text Clickable" label="Edit"></fdp-object-marker> | ||
<fdp-object-marker clickable="true" ariaLabel="Object Marker with only Text Clickable" label="Locked"> | ||
</fdp-object-marker> | ||
<fdp-object-marker clickable="true" ariaLabel="Object Marker with only Text Clickable" label="Edit"> | ||
</fdp-object-marker> |
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