cwa-website
cwa-website copied to clipboard
Generate screenshot `alt` texts automatically (or omit them)
Feature description
Relates to #1655
For the screenshot JSON files, either generate the enumeration of the screenshot alt
texts automatically in the template HTML file. For example only specify the alt
text prefix, such as "Warn for others image", and then let the HTML template generate the "X of Y" respectively in German "X von Y" suffix (e.g. "1 of 10").
Or alternatively omit the alt
text, because it often adds no additional value, since it is the title + " images " + "X of Y". I assume for someone with limited vision, it is obvious that a Screenshot page contains screenshots. Probably for the images which are not screenshots, an alt
text would be more relevant.
Problem and motivation
In multiple locations in the screenshot JSON files the alt
texts are incorrect, some examples are:
In general the alt
text is error prone because it is repeated multiple times, which leads to copy & paste errors; forgetting to adjust the numbering after adding new screenshots / removing screenshots, ...
Of course it would be possible to manually fix those, but it would most likely be a waste of time. Similarly I assume during creation of the screenshot JSON files, adjusting and adding alt
tags also wastes some time.
Is this something you're interested in working on
No
There has been no feedback for over 2 months on this issue. Please take care of it @Open-Source-Team.
Since no more versions are planned, this issue has become obsolete.