3 ms·
I wish for icon fonts to die. I don't mind website designers defining what fonts to use. That choice is almost always something I don't want, unless it's serif
by megous 10y ago
I wish for icon fonts to die.
I don't mind website designers defining what fonts to use. That choice is almost always something I don't want, unless it's serif or sans-serif. I can override that choice with my own, which is better for me. Having the same font on every website increases readability and pleasure of using the web. Browsers allow for this in the user visible configuration, perhaps for this reason.
Also, security. I don't trust random fonts from the internet, to not be malicious, so I disable them all.
If I choose readability and security, use a normal browser feature to do this, by disabling website enforced font choice, the website should not break.
Icon fonts are definitely a hack. There's no fallback to anything sensible when the font can't be used. It just breaks, and the website is unusable. At least use a title attribute, so that when hovering over some random character I can see what the supposed icon I never saw stands for. Especially when used for icon only navigational controls.
And this is not even related to accessibility.
- megous 10y agoPerhaps designers assume that they are in full control of their website appearance, and don't include into consideration user's choices, enabled by various browser options/configurations.
- jasonthevillain 10y agoThey were a hack! They came about because legacy browsers didn't support SVG. Of course, IE8 is dead, so I can't think of a reason to stick with them.