Link Purpose (In Context) - Image/link has an empty accessible name and description (TC14.1-1-fail-1)

Test Case Summary

Test Case ID

TC14.1-1-fail-1

Test Case Description

The sample code inlcudes an iamge/link with an empty accessible name and description. A successful test should identify a FAIL against Baseline 14.1-LinkPurpose

Applicable ICT Baseline Test

Test Case Detail

Expected Baseline Result

Fail

The code sample includes an image/link with no accessible name or description.

Test Data

Single-Page URL

Embedded Code

Code

Test Case Instruction

Test Instruction Instruction Detail Expected Test Case Result
IC-1 All links including those that are scripted elements and assigned a role of a link. The sample code includes one link on the page.
14.1-1 Check that the combination of accessible name and accessible description is not empty. [SC 4.1.2] FAIL - the image/link does not provide any alternative text for the image nor any other content or attributes that contribute to the accessible name or description
Result If any of the above checks fail, then Baseline Test 14.1-Links. No accessible name or description. FAIL - the image/link fails the check for non-empty accessible name and description.