A proposed scheme for parsing preformatted alt text
Alex // nytpu
alex at nytpu.com
Thu Sep 10 16:55:34 BST 2020
>I strongly recommend against this. The W3C has been trying to get HTML
>authors and browser makers to _only_ display, in tooltips, text in
>`title` attributes. Previously, HTML authors would write `alt`
>attribute values intending them to be read by sighted HTML readers who
>can already see the image.
I strongly agree. While I don't view the W3C's recommendations as the
gold standard of things gemini should look to emulate (EME anyone?), I
agree that if we make the alt text easily visible it will no longer be
accessibility text and will turn into a miscellaneous-purpose field.
>(You might be thinking “well, what about that Markdown meme where
>people write ‘```javascript’ to start off a JavaScript code block, with
>the idea that a syntax highlighter will read it and colorize the
>output?”
The original point of suggesting that it be displayed for all users was
to discourage turning text intended for humans into text intended for
machines anyways, but I believe an alternate solution other than
displaying it for everybody would still be preferable.
Rewriting that portion of the spec to emphasize that it is not to be
parsed in any way other than as natural language? Maybe say that a
client *should be able to* completely replace the preformatted block
with the contents of the alt text without the document losing
significant meaning? That would work for ascii art and short code
snippets, but it might not be doable for longer code blocks.
--
Alex // nytpu
alex at nytpu.com
GPG Key: https://www.nytpu.com/files/pubkey.asc
Key fingerprint: 43A5 890C EE85 EA1F 8C88 9492 ECCD C07B 337B 8F5B
https://e-mail.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200910/70100d25/attachment-0001.sig>
More information about the Gemini
mailing list