Skip to content

Commit

Permalink
fix(list): make unstyled list markers transparent instead of list-sty…
Browse files Browse the repository at this point in the history
…le-type none

screen readers can't read list-style-type: none, so change the markers to be transparent instead

Fixes VPAT-612
  • Loading branch information
Ashley Ryan authored and ashleyryan committed Oct 6, 2022
1 parent 9877d5c commit 6e85547
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/angular/src/typography/_lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
%kill-list-styles {
padding-left: 0;
margin-left: 0;
list-style: none;
list-style-position: outside;

li::marker {
color: transparent;
}
}

ul:not([cds-list]),
Expand Down

0 comments on commit 6e85547

Please sign in to comment.