DEV Community

Discussion on: 2 underused techniques to speed up your site.

Collapse
moopet profile image
Ben Sinclair

I'd advise against doing things like extracting the font urls from Google's entrypoints. What if they change over time?

I have my doubts as to the benefits of font awesome at all in the face of writing coherent, accessible web documents.

Collapse
oreoorbitz profile image
oreoorbitz Author

Good point, I added that warning.

Out of curiosity, what is it about font awesome that makes a web document inaccessible?

Collapse
moopet profile image
Ben Sinclair

I'm mostly thinking of the fact that you have to add extra markup and then hide it from screen readers. This means if you have something that's just an icon, you end up with two elements anyway. It's not that you can't fudge it to be accessible, it's that it makes extra hoops to jump through.

And if the font doesn't load properly, people get nonsense characters in their page.