List - Visually apparent ordered list programmatically identified correctly

Test Case Summary

Test Case ID

TC13.4-2-pass-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 correctly defined programatically with <ol>, an ordered 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

PASS

The correct list type is used for the visually apparent list.

Test Data

Single-Page URL

Embedded Code

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-1 Check that content that has the visual appearance of a list (with or without bullets) that has no special order or sequence is marked as an unordered list. [SC 1.3.1] Not applicable
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] Pass - the visually apparent ordered list is correctly defined programatically as an ordered list.
13.4-3 Check that content is marked as a description list when terms and their descriptions are presented in the form of a list. [SC 1.3.1] Not applicable
Result If the above check fails, Baseline Test 13.4-List fails. PASS