Page MenuHomePhabricator

Add support for adding and editing alt text in the gallery tool
Closed, ResolvedPublic8 Estimated Story Points

Description

Galleries support alt text for images, e.g.,

<gallery>
File:Mars 23 aug 2003 hubble.jpg|Mars|alt=the red planet
File:Jupiter New Horizons.jpg|Jupiter|alt=a striped planet
</gallery>

If you try to edit this in the visual editor, the current gallery tool gives you a "caption" of Mars|alt=the red planet.

Could it be made to work like the Media Settings dialog, with a separate field for the alt text, instead?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 322490 had a related patch set uploaded (by Tchanders):
[mediawiki/extensions/VisualEditor@master] WIP Make gallery dialog work with native gallery implementation

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

Esanders renamed this task from Please add support for adding and editing alt text in the gallery tool to Add support for adding and editing alt text in the gallery tool.Feb 26 2018, 2:42 PM

Change 322490 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Make gallery dialog work with native gallery implementation

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