~wffl

https://ihatereality.space

it/its; i do stuff


#18 Add support for alt-text 9 months ago

Comment by ~wffl on ~bouncepaw/mycomarkup

This is an option, yes. Kind of reminds me of LaTeX :sweat_smile:

It does look a bit weird, but I don't think we can come up with a much nicer scheme.

#18 Add support for alt-text 9 months ago

Comment by ~wffl on ~bouncepaw/mycomarkup

I think alt-text oftentimes gets somewhat long, so limiting it to only a single line doesn't sound right.

#18 Add support for alt-text 9 months ago

Ticket created by ~wffl on ~bouncepaw/mycomarkup

One of the things vital for accessibility is alt text — a description that is read by screen readers. Mycomarkup should have it.

Note that image descriptions which are already supported by mycomarkup are different from alt text, since they are shown by default. Image descriptions are usually not that helpful for sighted people, since they can just see the picture, instead of reading its description.

Not sure what is handled by this repository and what is handled by the users, but the ideal state of alt text support is:

  • You can specify alt text for an image in mycomarkup
  • Alt text is added as the alt html attribute (or in any other way depending on the medium)
  • Alt text is not shown visually, but you can see it as a popup if you press a button (i.e. ideally alt text adds an [alt] button to the image)
    • This is needed because sometimes sighted people can benefit from the picture description, specifically in cases where it's not clear from the image what it shows
    • Here is an example of how that can look: image showing alt button being pressed on twitter