Page MenuHomePhabricator

Supply an alt attribute to the resulting <img> tag
Closed, InvalidPublic


Especially for users using screen readers it is very helpful to supply an alternative image text which is right now not easily possible. A Graph object should have an additional parameter which is passed directly as alt attribute to the resulting <img> tag.

Event Timeline

Hi, do you ask for being able to manually enter an alt parameter in a <graph> section?
Or should the software somehow automatically guess some alt parameter based on some graph title?

I would like to have an additional parameter for the graph object that is passed as alt attribute. Maybe it is an good idea to default it to the graph title and if no title given just to "chart" or "graphics".

Jdlrobson subscribed.

We haven't rendered an img tag for some time for graphs so I think we can close this one out for now.