problem-specifications icon indicating copy to clipboard operation
problem-specifications copied to clipboard

Image alternate text: single sentence per line

Open kotp opened this issue 2 years ago • 5 comments

Noticed image alternative text not being "Single Sentence per Line" for proposed addition to TCL track.

Inspiration: exercism/tcl#267

kotp avatar Jan 09 '23 22:01 kotp

@SleeplessByte Are there a11y guidelines about such length alt text? I notice the text refers to some numbers being "red".

glennj avatar Jan 10 '23 17:01 glennj

The red mention is extraneous because there is only one type of highlighting. In general you want alt to be as concise as possible, only mentioning relevant information.

These graphics are incredibly information dense. I think the alt text given (except for the red mention) are very good for allowing me to close my eyes and pretending I can't see or can't see well and make a mental map and model of the grid.

I would say that in this particular case it's a really good alt text.

The alternative would be to build this as a table element with the appropriate th for indices, and highlighting in aria labels, bit that's not possible with Markdown, thus this is the accessible option we have.

SleeplessByte avatar Jan 10 '23 17:01 SleeplessByte

A good test for yourself would be:

How would you explain what you see on the screen as quickly as possible to someone who is on the phone?

SleeplessByte avatar Jan 10 '23 17:01 SleeplessByte

Does anyone know if the markdown renders correctly when alt text has multiple lines? I have a vague recollection of having had trouble with something similar at some point, but I cannot for the life of me remember the details.

kytrinyx avatar Jan 30 '23 06:01 kytrinyx

@kytrinyx at least in GFM it is no issue:

long alt text, sentence per newline works in github flavored markdown

SleeplessByte avatar Jan 30 '23 21:01 SleeplessByte

CI appears to be hung.

BNAndras avatar Jun 10 '24 16:06 BNAndras

CI appears to be hung.

I think it might be blocked on an owner approval.

IsaacG avatar Jun 10 '24 16:06 IsaacG

I will try to close and re-open to see if it bumps the checks.

IsaacG avatar Jun 10 '24 22:06 IsaacG