Skip to content

A quick simple module that forces all image attributes on edit forms using the html5 required attribute. This is an easy solution for Drupal sites trying to enforce accessibility compliance.

Notifications You must be signed in to change notification settings

NickStees/drupal-force-image-alts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drupal 7.x Custom Module

Force Image-alt Fields in Drupal 7

This module injects some JS for logged in users which scans the page for 'image-alt' fields and attaches an HTML 5 required attribute which forces the browser to prevent form submissions/saves until that field is filled out. This is a simple way to enforce image alt tags site wide for websites concerned with accessibility compliance.

About

A quick simple module that forces all image attributes on edit forms using the html5 required attribute. This is an easy solution for Drupal sites trying to enforce accessibility compliance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published