Page MenuHomePhabricator

Add alternative title to maps
Closed, ResolvedPublic

Description

Add an alternative title to the small version of a map in a wikipage.

Screenshot from 2023-01-24 15-53-50.png (808×939 px, 191 KB)

Use the subtitle of the map if available.

Open question: Fallback title of no subtitle available?

Event Timeline

Change 889750 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/Kartographer@master] Add absolute minimum alternative texts to static map images

https://gerrit.wikimedia.org/r/889750

Change 889750 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Add absolute minimum alternative texts to static map images

https://gerrit.wikimedia.org/r/889750

Change #1016704 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/Kartographer@master] Add support for <mapframe alt="…"> alternative text

https://gerrit.wikimedia.org/r/1016704

Change #1016704 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Add support for <mapframe alt="…"> alternative text

https://gerrit.wikimedia.org/r/1016704

Notice: The <mapframe> tag now supports an alt= parameter to provide alternative text for the static map images of Kartographer.

thiemowmde moved this task from Unsorted to UI tasks on the Maps (Kartographer) board.

Alternative suggestion for User-notice:

Kartographer maps can now specify an alternative text via the alt= attribute. This is identical to the alt= attribute in the image and gallery syntax. An exception are wikis like Wikivoyage where the miniature maps are interactive.
Quiddity subscribed.

Added to https://meta.wikimedia.org/wiki/Tech/News/2024/20 -- Thanks for the draft wording (x2!), always appreciated! -- It will be frozen for translations in ~21 hours, if any tweaks (or link additions/changes) are needed before then.

Anything else we need to do for this ticket ?