4 ms·
> They could but then it would be less accessible for screen readers or bots that want to scrape text from a web page for indexing or anything else. Screen rea
by bogwog 4y ago
> They could but then it would be less accessible for screen readers or bots that want to scrape text from a web page for indexing or anything else.
Screen readers can read SVG, and ARIA exists for adding accessibility to things like Canvas or WebGL (see: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...).
> These fonts work fine in Firefox.
They in fact do not work at all in Firefox (or any other browser besides Chrome/Edge). If you go to fonts.google.com, they work because that page uses a custom renderer for them.
See the duck demo here (need to scroll down): https://developers.googleblog.com/2022/09/updates-to-emoji-new-characters-animation-colors-and-more.html https://developers.googleblog.com/2022/09/updates-to-emoji-n...
The duck is invisible on Safari on my iPhone and in Firefox (104.0.1) on my desktop
- magicalist 4y ago> They in fact do not work at all in Firefox as noted by jfk13 below, you have to enable `gfx.font_rendering.colr_v1.enabled` in about:config