hi @silverpill@mitra.social.... i've been thinking about ux in mitra lately and have some potentially good fixes to solve the missing icon problem in Tor Browser and MullvadBrowser(?) (safest mode).
i teach folk to put noscript in the toolbar so they can enable javascript on a per site basis, rather than downgrade security and allow javascript on all websites (aka "Safer" mode). using safer mode rather than safest also means that svg are not downloaded.
as a result there is no indication that icons exist in some parts of mitra. We can add glyphs as fallback tho.... as an example i have found the following 4 (out of 7) glyphs for posting toots.
Attach file 🖇html code 🖇
Public (visibility) 🏛 1F3DB
Add content warning ⚑ 2691;
Emoji ☻ 263B
I can find all the glyphs needed for all main functions, this is just a sample. even if for some, a couple glyphs are tofu.... thatd be better than nothing.
mitra embeds svg into the html, in this case fallback glyphs can be placed directly after the open tag of the svg. ie <svg><INSERT HERE>(...)</svg> i do think there is a more semantically correct way to do this, but i've spent too much time searching and just need to run this past you first.
maybe cc'ed folk kno how to proceed, also
are you down with something like this to ensure the ux is good for people who use tor the original way, before the browser devs tried to hide noscript away. when i talk to longtime tor enjoyers, most put noscript back in the toolbar.
thanks for your work, time and talk more soon
cc @nimda @p @walterebert