Decorative Image - empty accessible name or description

Test Case Summary

Test Case ID

TC06.2-4-pass-1

Test Case Description

Identify any decorative image that is pure decoration, is used only for visual formatting, or is not presented to users.

The code sample provides an equivalent description of the image in a alt="" attribute, which would cause Assistive Technologies to ignore the image. A successful test should identify a PASS against Baseline 6.2 Decorative Images.

Applicable ICT Baseline Test

6.2 Test Procedure for Meaningful Images

Baseline Test ID: 6.2-DecorativeImage

Test Instruction: All

Test Case Detail

Expected Baseline Result

PASS

The image in the code sample is a decorative image from its alt="" attribute.

Test Data

Single-Page URL

Embedded Code

Code

Test Case Instruction

Test Instruction Instruction Detail Expected Test Case Result
IC-1 Identify any decorative image that is pure decoration, is used only for visual formatting, or is not presented to users.  
  Check that at least one of the following is true [SC 1.1.1]:  
6.2-1 The ARIA role is “presentation”. False
6.2-2 The ARIA role is “none”. False
6.2-3 Check to see that the aria-hidden is set to “true”. False
6.2-4 Check to see that the text alternative (combination of accessible name and accessible description) is empty. True
Result If any of the above checks fail, then Baseline Test 6.2-DecorativeImage fails. PASS; the fourth check passed.