Font Awesome / Icon Fonts?

I am returning to doing more contract work after a few year break being an instructor. I was wondering if web projects still use icon font solutions like Font Awesome to quickly layout and stylize icons for large projects. I have heard there may be some accessibility issues using icon fonts. If you work on large projects does your group use icon-font solutions like Font Awesome? Just curious.
16 Replies
ἔρως
ἔρως4w ago
yes, people use font-awesome, or other icon fonts probably the most used one is dashicons because wordpress still includes it in the admin page
13eck
13eck4w ago
I have heard there may be some accessibility issues using icon fonts.
Yeah, font icons are a serious accessibility issue! Screen readers and the like will read out the character the font is using and not describe the icon. If you can, NEVER use a font icon system, use actual icons/images. With appropriate alt-text. Otherwise you might as well put a banner on your homepage telling ~15% of your users to fuck off and that they're not welcome.
ἔρως
ἔρως4w ago
i strongly agree and strongly disagree yes, they are accessibility nightmares ... if people dont learn how to do it property you can fix it with a few aria attributes
13eck
13eck4w ago
Or you could use a proper image
ἔρως
ἔρως4w ago
but those icons are important for people without visual impairments too
13eck
13eck4w ago
Do five steps to replicate one…sounds inefficient
ἔρως
ἔρως4w ago
true, but then you have extra requests everytime you want to show a new icon
13eck
13eck4w ago
The use a freakin' icon my dude
ἔρως
ἔρως4w ago
yes, but my icons are a font/svg
13eck
13eck4w ago
Then inline it if you're that worried about one network request
ἔρως
ἔρως4w ago
im not, i just keep on using font icons, but i test them how i can but i agree with you: "raw" icon fonts are an accessibility nightmare at the bare bare minimum, use a title or an aria-hidden, depending on the use
Ganesh
Ganesh4w ago
what about react-icons npm package? Aren't they svg and iirc they have font awesome stuff. Tho I'm not sure if they include it all since font awesome is paid i think
ἔρως
ἔρως4w ago
good question
davidhurwich
davidhurwichOP4w ago
just curious, does your group create images for all of the icons? If so do you use JS to do hover / other effects? Just seeing what strategies other groups are doing. I do see custom icon fonts being used on many sites, so it is still popular, but maybe a technique that it is getting phased out would adding alt text make them access to screen readers properly?
ἔρως
ἔρως4w ago
no, because they aren't images
davidhurwich
davidhurwichOP4w ago
whoops, duh, right

Did you find this page helpful?