Closed (duplicate)
Project:
Drupal core
Version:
main
Component:
image.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jan 2021 at 20:26 UTC
Updated:
28 May 2026 at 21:17 UTC
Jump to comment: Most recent
Comments
Comment #2
ajv009 commentedMaybe instead of creating a complete page just to explain alt-text, maybe we should just display a default text created from the file uploaded.
Ex. SOMe-fIlE__somE-filE--123ThiS_FiLe.txt
Alt-text: "Some File Some File 123 This File"
Comment #3
mgifford@AJV009 sadly that approach is not accessible. Many CMS have tried this or variations, but far too often the filenames really don't make sense out of context. They also really don't make sense in the context of the article that is being written.
For more information see:
https://webaim.org/techniques/alttext/
Comment #4
jhodgdonIt is not possible to create new help pages using hook_help(), which only allows each module to have one help page.
In the new help system, we already have a topic about accessibility, which you can see in
core/modules/help_topics/help_topics/core.ui_accessibility.html.twig
Maybe you could review that topic, and see if you'd like to add anything to it, including more information (maybe?) about good alt text? That could be done in 9.3.x.
As a note, the plan is once help_topics is stable, to merge it into help.module, so this topic might be moving to a new home (hopefully soon!). I think it would end up in a new directory called:
core/help_topics
Comment #5
mgiffordHere's an example from the We4Authors Cluster review of authoring tools and ways to better support authors https://accessibilitycluster.com/main-results/text-alternative-feature-%...
Comment #11
heddnThis sure seems like a duplicate of #3171916: Add Help for Image Fields.