Alt text should be a useful description of the image. Sometimes the filename will be suitable. However, when the filename is something like DSC0199.jpg then it isn't.

CommentFileSizeAuthor
#4 2884755-4.patch2.99 KBericras
#2 2884755-2.patch612 bytesericras

Comments

ericras created an issue. See original summary.

ericras’s picture

StatusFileSize
new612 bytes
ufku’s picture

Category: Bug report » Feature request

It should be optional i think.

ericras’s picture

StatusFileSize
new2.99 KB

This makes it configurable. I made the default 'off' to encourage best practice of filling out a good description.

ufku’s picture

Status: Active » Needs review
sbaur’s picture

Instead of removing the auto-population, wouldn't it make more sense to allow the field to be filled in by the user on image upload or edit? (If that's already the case, please let me know how to do it, because when I upload or edit images with IMCE I have no control over the alt text)

ericras’s picture

@sbaur This comes into play when using the default "Image" button in the WYSIWYG rather than the "Insert images using IMCE File Manager" button.

mgifford’s picture

Category: Feature request » Bug report
Issue tags: +atag

I'd call this a bug.

nataliedSCgov’s picture

This does happen when using the "Insert images using IMCE File Manager" button. It doesn't apply to the default "Image" button at all. The way this is working now, a user is required to understand HTML in order to not break federal 508 accessibility laws while using IMCE.

  • ufku committed efc101f on 8.x-1.x
    Issue #2884755 by ericras: Disabled auto-populating alt input
    
ufku’s picture

Status: Needs review » Fixed

Removed alt field auto-populating.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.