Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nerd-fonts-generated.css #1416

Merged
merged 2 commits into from
Nov 16, 2023
Merged

Update nerd-fonts-generated.css #1416

merged 2 commits into from
Nov 16, 2023

Conversation

dnoice
Copy link
Contributor

@dnoice dnoice commented Nov 14, 2023

Description

The css '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.

it's really not much to get excited about, I just noticed it, and wanted to bring it up to your attention.
the line has been wrapped in a comment.

/* speak: none; */

dnoice and others added 2 commits November 14, 2023 04:21
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.
This reverts commit b1d437b.
Because that changed a generated file.

The generator is changed instead with the changes added here.
@Finii
Copy link
Collaborator

Finii commented Nov 14, 2023

Thanks for the PR!

I'm no web programmer and such details are beyond me, so we must rely on expert like you :-)

@Finii Finii merged commit 30e8c31 into ryanoasis:master Nov 16, 2023
1 check passed
@dnoice
Copy link
Contributor Author

dnoice commented Nov 16, 2023 via email

LNKLEO pushed a commit to LNKLEO/Nerd that referenced this pull request Nov 24, 2023
Update nerd-fonts-generated.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants