Active
Project:
Drupal core
Version:
main
Component:
media system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Sep 2019 at 09:17 UTC
Updated:
1 Jun 2025 at 00:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nikkitam commentedHi Team,
I am using the media image fields for the Taxonomy. Once the image is updated there is no options to change the image Alt text, how can i change the image alt for a specific image, after the image is updated.
Thanks
Comment #2
joseph.olstadThis support request belongs in the core issue queue, this question may have been previously answered, suggest to search the core issue queue for related support request solutions.
For others to assist, Please provide your field configuration options related to alt/title. Drupal core version.
please note: Drupal core 8.8.x adds new media functionality, you may want to try it now. The 8.8.0 release is scheduled for release in december
Comment #3
nikkitam commentedHi Team
We will get the alt text field while uploading the new image. Please refer attached image(1.png).
Once the image is updated there is no options to change the image Alt text. Please refer attached image(2.png).
Please let us know the steps to add the alt for a specific image, after the image is updated.
Thanks
Comment #4
joseph.olstadAdd a new image, alt field is there

And some are expecting alt edit when inserting like this:

Here is what to expect in Drupal core version 8.8.0 which will be released in december 2019:
https://wimleers.com/blog/media-embedding-drupal-8.8
Comment #5
joseph.olstad@nikkitam
What modules related to media have you installed? Example:
Media library?
?also
What version on drupal core are you using?
Comment #6
nikkitam commentedHi Joseph,
I have installed "Media", "Media Library" Module and using 8.7.7 drupal version.
Thanks
Comment #7
joseph.olstadTry Drupal core 8.8.x dev
OR if you do not want to use 8.8.x dev,
Try this module:
https://www.drupal.org/project/file_management
seems like it does what you want.
Comment #8
ghost of drupal pastIs https://www.drupal.org/project/drupal/issues/3023807 what you are looking for?
Comment #9
imclean commentedYou can edit the alt text directly on the media entity, but currently editing the alt text changes it for all uses of that media entity. To view all media, go to
/admin/content/media. Click the media name to edit it.To edit the a specific media, use the form
/media/2/editwhere 2 is the media ID.See also: #2985168: [PP-1] Allow media items to be edited in a modal when using the field widget
Comment #10
andrewmacpherson commentedComment #12
inst commentedHi,
is it possible that I can create my own at-text and titel field and not using the on that media type image brings with?
thanks!
Comment #14
phenaproximaI'm not clear on what the issue is here; can we get some details in the issue summary?
Comment #15
phenaproximaComment #16
bond708 commentedI will try to make a summary of the problem :
the webeditor uloads an image and fills in the alt-text and places the image in the content (or refers to it).
According to the wcag guidelines decorative images should not have an alt-text but this can not be undone since there is no way to alter the given alt-text.
The only option is to upload the image again, this time without alt.
This way we create a lot of duplicates in the media and create a not maintainable bulk of media.
Drupal 8.9.6
Comment #17
bond708 commentedComment #18
kari.kaariainen commentedThis is not correct: "there is no way to alter the given alt-text". Like #9 explained, you can edit the alt text, but it is common for all instances where the media is used.
Comment #21
cilefen commentedComment #24
RMattB commentedComment #26
mortona2k commentedRelated issue.
Comment #27
cilefen commentedI think this issue duplicates the issue you referenced.