Decorative Image - with descriptive text in accessible name

Test Case Summary

Test Case ID

TC06.2-all-fail-3

Test Case Description

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

The code sample provides an equivalent description of an image with descriptive text in accessible name, which would cause Assistive Technologies to not ignore the image. A successful test should identify a FAIL 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

FAIL

The image in the code sample has an image with descriptive text in accessible name.

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.  
6.2-1 The ARIA role is “presentation”. False
6.2-2 The ARIA role is “none”. False
6.2-3 The aria-hidden is set to “true”. False
6.2-4 The text alternative (combination of accessible name and accessible description) is empty. False
6.2-5 The image is inserted via CSS. False
Result If all of the above checks fail, then Baseline Test 6.2-DecorativeImage fails. FAIL.