💾 Archived View for rawtext.club › ~sloum › geminilist › 002573.gmi captured on 2020-10-31 at 14:38:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

A proposed scheme for parsing preformatted alt text

Luke Emmet luke at marmaladefoo.com

Mon Sep 7 00:20:48 BST 2020

- - - - - - - - - - - - - - - - - - - 

Hi All

We had an interesting discussion on the #Gemini IRC channel earlier today about a generalised scheme for parsing the alt text on preformatted regions, e.g.


It was a collective discussion, but I've written up some of the key points in a post here:

gemini://gemini.marmaladefoo.com/blog/7-Sep-2020_Parsing_preformatted_alt_text.gmi

Essentially the key design considerations are as follows:

1. By default the whole alt text can be used as a label (current behaviour)2. Use CSS style syntax for the remainder, a familiar and low ritual syntax3. Don't prescribe the attributes, allow practice to suggest them4. Be backwards compatible and friendly to screen readers etc.

two initial attributes seem to have obvious initial utility and could be used to effectively label content in a practical way:

content-typelang

Best Wishes

  - Luke