Accessibility Test Cases for Web


Test Case ID: TC1005C004

ICT Baseline Test: Forms (TTv5 5.C) - InputCheckbox Labeling

Test Case Type:

Instructions

Apply accessibility rules against this page and interpret results as indicated in the Interpreting Test Results section below.


Test Scenarios

Scenario 1

- Off : No labeling on Checkbox Element (Fail)

Scenario 2

- : Label/For for labeling of Checkbox Element (Pass)

Scenario 3

- On : title attribute labeling of Checkbox Element (Pass)

Scenario 4

- Red : aria-label attribute labeling of Checkbox Element (Pass)

Scenario 5

- Yellow : aria-labelledby attribute labeling of Checkbox Element (Pass)

Scenario 6

- Green : aria-describedby attribute labeling of Checkbox Element (Pass/Fail ?)


Interpreting Test Results

ICT Testing Baseline Status

*Note: Scenario 6 is generating debate in regard to whether or not it is a pass or fail.

The ICT Testing Baseline interprets Scenarios 1 as a failure for the Forms baseline test. Scenarios 2-5 pass.

Regarding scenario 6, note that the ANDI tool currently fails this scenario for having a describer (accessible description) but no namer (accessible name.)

Remediation can take the form of any of the scenarios above described as "Pass."


Ruleset Alignments

Axe-core
HTML CodeSniffer

Validated? [YES] - Test Case | Updated: Sunday 03/08/2020 5:27 PM | Template Version: 03/02/2020 12:29a