mtg-font icon indicating copy to clipboard operation
mtg-font copied to clipboard

Unreadable pages in lynx and other non-css browsers

Open keiyakins opened this issue 7 years ago • 5 comments

Using CSS for content is unacceptable in any circumstance. It creates unreadable pages in non-graphical browsers, when users turn off stylesheets (in 'reader mode' for instance), and destroys accessibility with screen readers and the like.

keiyakins avatar Sep 04 '16 00:09 keiyakins

Thank you for your feedback!

Do you have any alternatives or suggestions as to how you would approach solving this issue without impacting traditional graphic users?

AlexandreArpin avatar Sep 04 '16 00:09 AlexandreArpin

Honestly? <img> with alt attributes. Using background images for foreground elements is inherently going to cause problems.

Failing that, have the text representation (W, U, Q, etc) as text inside and just hidden by the CSS, so at least that's there.

keiyakins avatar Sep 04 '16 01:09 keiyakins

How does FontAwesome (the inspiration for this project) handles this? The Alt Attribute and Text representation would probably be left to the implentor.

Some symbols had text representation before and I remember it caused a handful of problems with the scaling of things.

This project is also a proof of concept for handling this sort of things, If you feel like sending a pull request with this issue fixed i'll gladly review it, otherwise, it'll probably stay as it is.

AlexandreArpin avatar Sep 04 '16 13:09 AlexandreArpin

I don't use these symbols for documentation or screen readers @keiyakins. I use it to make art on the web with scalable vector art (fonts).

AckerApple avatar Sep 04 '16 15:09 AckerApple

FontAwesome doesn't. This is somewhat acceptable as its icons are usually used as bullets, so they're not actually content, just styling. This is not true of mana costs and the like.

keiyakins avatar Sep 12 '16 00:09 keiyakins