So many ways of making image fields, so many ways of specifying alt for each.
Need documentation and recommendations of when to do which way to recommend something.

Proposed resolution

Look at various ways of getting image alt tags for fields.

Remaining tasks

TBD. (reviews needed, tests to be written or run, documentation to be written, etc.)

User interface changes

No UI changes anticipated. (just investigating them/documenting)

API changes

No API changes.


Members fund testing for the Drupal project. Drupal Association Learn more


YesCT’s picture

Just investigating right now. If find any issues will file follow-up for them.

YesCT’s picture

YesCT’s picture

core image field. widget media file selector.


No setting in edit field for alt and title (or in manage display tab)




is there an issue open already for the media file select widget not showing alt? (what is the project/component for that?)

YesCT’s picture

core image field. widget media file selector.
(create content instead of edit one that had image widget before)



alt in widget

alt carried through in widget

no alt when viewing node

YesCT’s picture

file field. file widget.


oh. no image display. ok.

YesCT’s picture

I feel like I should be able to something with this.. based on #1553094: Alt and Title support for Images. But I'm not sure.

Can I use the file field and do some config to be able to use it for images and get alt in the html?

I got this far... but then dont know what to do. There dont seem to be more options on a file field than there was before.



HyperGlide’s picture

ParisLiakos’s picture

This is more of a media issue.
File entity module does not use core's alt and title attributes of image fields.
It attaches two textfields on image file type and uses those fields instead..which makes it confusing for site builders

Mschudders’s picture

50.92 KB
22.01 KB
17.2 KB
68.44 KB
46.21 KB
29.57 KB

I am having issues when I am adding it via WYSIWYG.

I can enter the fields alt & text but they are not displayed.

I am using the latest media DEV & File Entity dev + using the panopoly distribution.

As you can see in the screenshots I can add it but it is not displayed in the wyswyig and not when displaying the content.

step 1
step 2
step 3
step 5
step 6
step 8

YesCT’s picture

@Mschudders what happens when you try and follow #1307054-95: Accessibility - Media browser image alt and title fields ?

YesCT’s picture

Issue summary: View changes

added related issue to media module wysiwyg

mgifford’s picture

Issue summary: View changes
Issue tags: +accessibility

This is a great thread. Thanks @YesCT. We do need to consolidate these into a standard pattern.