by myfonj · 2y ago · 0 comments
<span role="img" aria-label="[what assistive technologies should present]">[rendered content]</span>
e.g. recommended for marking up obscure emoji [1].Anyways, I see absolutely no reason why these projects (wavefont and linefont) build on top of plain ASCII (so the actual data sound as garbled nonsense) and not ligatures of actual figures, so what they "encode" as
abz
could easily be something represented like, for example :1 :2 :26
or any other human-readable sequence of characters what would match defined ligatures in the font, or be presented verbatim if the font failed to load/work.[0] https://developer.mozilla.org/en-US/docs/Web/Accessibility/A... [1] https://adrianroselli.com/2016/12/accessible-emoji-tweaked.h...
It is almost same as your suggested representation, just do `String.fromCharCode(values.map(v => v + 0x100))` or manually as `XX;XX;XX;` in HTML.