Skip to content

Commit 4c30512

Browse files
Add outline to low-contrast star icons in ARIA icon font working example (#4293)
Addresses one of the side concerns from #1016 by modifying the presentation of one of the examples. Co-authored-by: Mike Gower <[email protected]>
1 parent 44b2303 commit 4c30512

File tree

1 file changed

+2
-2
lines changed
  • working-examples/aria-icon-font-img-role

1 file changed

+2
-2
lines changed

working-examples/aria-icon-font-img-role/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
.icon-star-bg:before { content: "\e982"; }
4545
.icon-star-half:before { content: "\e983"; }
4646

47-
.grey { color: #949494; }
48-
.yellow { color: #f8c102; }
47+
.grey { color: #949494; -webkit-text-stroke: 1px black; }
48+
.yellow { color: #f8c102; -webkit-text-stroke: 1px black; }
4949

5050
/* EXAMPLE 2 */
5151

0 commit comments

Comments
 (0)