Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Generate screenshot alt texts automatically (or omit them) #2453

Description

@Marcono1234

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

Metadata

Metadata

Assignees

Labels

enhancementImprovement of an existing feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions