Page MenuHomePhabricator

Images: Record alt/longdesc attributes along with the image
Open, MediumPublic

Description

From gwicke @ T50958#534470


Some notes re accessibility from a recent meeting with Gerardo Capiel:

  • Long-term we should try to store the alt text or long description along with the image itself, and use that to populate the alt attribute if none was provided explicitly. This requires significant work in core to store metadata along with image pages.
  • For screenreaders it would be good to also provide a longdesc attribute linking to the textual description on the image page.

Version: unspecified
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz61566.
Arlolra set Security to None.
Arlolra triaged this task as Medium priority.Nov 27 2014, 12:08 AM
Arlolra subscribed.

Change 802643 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/services/parsoid@master] [WIP] Use caption as alt on imgs when not present and caption isn't visible

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

Change 803606 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/core@master] Set alt in galleries, despite caption being visible

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

Change 803606 merged by jenkins-bot:

[mediawiki/core@master] Set alt in galleries, despite caption being visible

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

Change 804404 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/services/parsoid@master] Add forward compatibility to avoid serializing alt from caption

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

Change 804404 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Add forward compatibility to avoid serializing alt from caption

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

Change 805225 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/vendor@master] Bump parsoid to 0.16.0-a12

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

Change 805225 merged by jenkins-bot:

[mediawiki/vendor@master] Bump parsoid to 0.16.0-a12

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

Change 802643 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Use caption as alt on imgs when not present and caption isn't visible

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

Change 808051 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/vendor@master] Bump parsoid to 0.16.0-a14

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

Change 808051 merged by jenkins-bot:

[mediawiki/vendor@master] Bump parsoid to 0.16.0-a14

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

This seems like it's going to be covered in T325955

Change 887845 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/core@master] [WIP] Do not use media filename as alt attribute

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

Change 887845 merged by jenkins-bot:

[mediawiki/core@master] Do not use media filename as alt attribute

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