Page MenuHomePhabricator

[SPIKE] Systematically add alt text to all images in article (not just lead)
Open, LowPublic

Description

Background
In the Alt Text experiment, we will detect which images in an article do not have alt text, and provide an interface for the user to add alt text to the image with guidance. It would be most ideal if we could present all of the images in the article that are missing alt text, for the user to work through in succession, not only the lead image. Each task would be constrained to 1 article, showing the images with missing alt text in the order they appear in the article. After adding alt text to one image, they could scroll to or be presented with the next image in the article. If they proceed to the next task by skipping or publishing, they would advance to the next article and its images.

Task

  • Explore if it'd be possible to pick out all of the images within an article that do not have alt text, and present them one after another for the user to add alt text.
  • Estimate LOE for implementing all images in article vs single image
  • Make recommendation on what should be implemented for Alt text experiment

Event Timeline

JTannerWMF triaged this task as Low priority.

Hey @bvibber can you let us know if the work you are doing on the LINTer will allow us to do this?

Current state:

The linter patches can provide this, there are two parts:

  • the Parsoid change adds a missing-alt-text check to the core linter
  • the Extension:Linter change allows recording that lint in its database and querying it

Planned work:

  • land the parsoid change as-is
  • slight change to the linter extension to allow keeping it enabled but hidden. this should be easy to land, allows us to do realistic testing against production sites, and will keep people from justifiably complaining it's showing up in their general linter error lists.

Future improvements I'd recommend:

  • land additional parsoid change to add a clean hook point for linter extensions. use this for future stuff and move the missing-alt-text check over.
  • fancier queue extension to give a cleaner "shuffle" of incoming stuff for microtask selection, versus individual queries