Test Case Summary
Test Case ID
TC13.4-2-fail-2
Test Case Description
Visually apparent ordered lists must be programatically identified with the correct list type. In the code sample included in this test case a visually apparent ordered list is defined programatically with <ul>, an unordered list.
Applicable ICT Baseline Test
13.4 Test Procedure for Visually Apparent Lists
Baseline Test ID: 13.4-List
Test Instruction: 2
Test Case Detail
Expected Baseline Result
FAIL
The incorrect list type is used for the visually apparent list.
Test Data
Single-Page URL
Embedded Code
Test Case Instruction
Test Instruction | Instruction Detail | Expected Test Case Result |
---|---|---|
IC-1 | Visually apparent lists. For each list, determine if it appears to be ordered, unordered, or a description list. Ordered lists <ol> are numbered sequentially and, if necessary, hierarchically (e.g., 1, 2, 2a, 2ai, etc.) and are used where sequence or the ability to reference specific items by number/letter is important. Unordered lists <ul> are not numbered and are used where sequence or the ability to reference specific items by number/letter is not important. Description lists <dl> are used to group terms with their descriptions. |
This code sample includes one visually apparent ordered list. |
13.4-2 | For each visually apparent list: Check that content that has the visual appearance of a numbered list is marked as an ordered list. [SC 1.3.1] | Fail - the visually apparent ordered list is defined programatically as an unordered list. |
Result | If the above check fails, Baseline Test 13.4-List fails. | FAIL; the check fails. |