For accessibility issues ensuring that all images have alt tags is very important. Although tools like IMCE allow users to add alt tags, it doesn't allow an administrator to force alt tags to be defined.

I would like to see IMCE extend to allow admins to choose to:
- remind users if they haven't filled in an alt tag
- potentially stop an image from being submitted without an alt tag
- force minimum text length for the description

And have this established for all roles.

Mike

Comments

mgifford’s picture

Issue tags: +Accessibility

adding accessibility tag. Encouraging proper content management behavior is difficult. Proper reminders in tools like IMCE will help a lot.

mgifford’s picture

Version: master » 7.x-1.0-alpha3

Updating for D7.

Everett Zufelt’s picture

@mgifford

- remind users if they haven't filled in an alt tag

+1 I think this would be a great addition.

- potentially stop an image from being submitted without an alt tag

We can run into a problem here. It is valid to submit an image with a null alt tag (alt=""). How can we communicate when this should be used? And how should the UI differentiate between a missing alt and an intentionally null alt may be tricky.

- force minimum text length for the description

I definitely see the advantage here, are you thinking to limit content creators entering " " as the alt tag? There are use-cases for very short alt tags "Red rose", "My dog", "Sun". Although these alts could likely be more verbose, I would prefer something short to nothing at all. I think this issue and the prior issue need to be resolved in conjunction with one another.

thanks

mgifford’s picture

Thanks Everett for these details.

I'm adding in a related issue for ImageField #193887: Accessibility enhancements

Certainly there should be a warning or an encouragement for users to fill in the alt tag by default. I'd like to see it so that admins can force a non-empty (and " " I'd count as empty) alt tag for everyone.

ufku’s picture

Status: Active » Closed (works as designed)

IMCE does not add img tag to content. It just returns file information to File Dialogs of text editors. The insertion of alt attribute is text editors' responsibility.
For example, BUEditor uses IMCE in its Image Dialog and populates/requires alt attribute. It's not IMCE forcing that, it's BUEditor.