Cryptzone Support

 
If you wish to submit a support ticket please sign in to your customer portal or use the “submit a ticket” button at the top menu.
If you need to find documentation about our Sheriff Suite please login to the Hive- Click Here

 

Article

Non-decorative IMG element contains empty ALT attribute

« Go Back

Information

 
Article Number000002096
Article
Non-decorative IMG element contains empty ALT attribute.
Reference: ComplianceSheriff 4.2.x - 4.3


Issue:

Compliance Sheriff scan results show "Non-decorative IMG element contains empty ALT attribute" for decorative images.
 

Cause:
Compliance Sheriff must be made aware of which images to flag as "decorative" by adding the specific image names to the Decorative Image List' within Compliance Sheriff. (See Below)

As a rule of thumb:
All Images are required to have an alt tag.
Decorative Images are required to have an empty alt tag (alt=””).
Non-Decorative images must have an alt tag and a real description (alt=”Yellow Taxi Cab driving down 5th Avenue in NYC”).




Solution:

For each Non-Decorative image, please make sure that it does contain an alt tag, and, that it contains a real description.
For each Decorative Image, please make sure that it does contain an empty alt tag (alt=””), and that it has been added to the “Decorative Image List”  in Compliance Sheriff by performing the following steps:

               
  1. Click the "Settings" Tab.
  2. Click "User agents, variables & key attributes".
  3. Within the "User variables" window,  scroll down to "DecorativeImageList".
  4. At the end of that row add the name of the image file, for example: /ComplanyLogo.jpg,/CompamyLogoSmall.jpg
  5. Click on "Save".
Decorative Image List
Run a scan to update the changes.
  1. Click on Scan Tab.
  2. Click on the name of the scan to edit the settings for that scan.
  3. *** Select the check box for "Retest All Pages".
  4. Click on "Save".
  5. Click on "Run"  to start the scan.

You can find out more information on this finding here:
http://www.w3.org/TR/WCAG20-TECHS/H37.html


 
 
Related File 
Additional Files 

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255