Link Purpose (In Context) - The purpose of each link can be determined from the link text
Test Case Summary
Test Case ID
TC14.1-all-pass-1
Test Case Description
Detect the existence of a <link>
element and determine if the link’s text and context sufficiently describes its purpose. The code sample provides links that describes the intent of each link when combined with context from each link’s list hierarchy. A successful test should identify a PASS for Baseline 14.1-LinkPurpose.
Applicable ICT Baseline Test
Test Case Detail
Expected Baseline Result
Pass
The inner text and context of each link in the code sample sufficiently describes the purpose of the link.
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 contains multiple links. |
14.1-1 | Check that the combination of accessible name and accessible description is not empty. [SC 4.1.2] | Pass - each link provides an accessible name and description. |
14.1-2 | Check that the purpose of each link can be determined from any combination of the link text, accessible name and accessible description, and preceding page context (same paragraph, list, or table cell as the link or in a table header cell that is associated with the table cell that contains the link). [SC 2.4.4] | Pass - each link’s inner text combined with the context of the list hierarchy sufficiently describes the link’s purpose. |
Result | If any of the above checks passes, then Baseline Test 14.1-Links. | Pass - all checks pass. |