Skip to content

Commit

Permalink
Update nerd-fonts-generated.css
Browse files Browse the repository at this point in the history
The speak property is not widely supported and is currently not a standard property. If you're using it to prevent screen readers from reading certain elements, a more standard approach is to use the aria-hidden="true" attribute in your HTML.

This will hide the span with the class nf from screen readers. This is a more widely supported and standard way of controlling how screen readers interact with your elements.
  • Loading branch information
dnoice authored Nov 14, 2023
1 parent d84e7bc commit b1d437b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/nerd-fonts-generated.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

.nf, .nerd-font, .nerd-fonts {
font-family: 'NerdFontsSymbols Nerd Font';
speak: none;
/* speak: none; */
font-style: normal;
font-weight: normal;
font-variant: normal;
Expand Down

0 comments on commit b1d437b

Please sign in to comment.