title | layout | extra_css |
---|---|---|
Test Case: TC1005C010 - Forms-ARIA Role Toggle Elements Labeling |
page |
disable-checkbox.css |
ICT Baseline Test: Forms (TTv5 5.C) - ARIA Role Toggle Elements Labeling
Test Case Type: Automated Manual
Apply accessibility rules against this page and interpret results as indicated in the Interpreting Test Results section below.
ARIA checkbox with no labeling. The third checkbox in the checkbox array below has no accessible labeling (Fail):
-
Acura
-
Chevrolet
-
-
Mercedes
ARIA checkbox with proper labeling. All checkboxes in the checkbox array below has proper labeling (Pass):
-
Acura
-
Chevrolet
-
Honda
-
Mercedes
var checkboxes = document.querySelectorAll('[role="checkbox"]');
for (var i = 0; i < checkboxes.length; i++) {
var cb = new Checkbox(checkboxes[i]);
cb.init();
}
}; </script>
The ICT Testing Baseline interprets Scenario 1 as a failure for the Forms baseline test. Scenario 2 is a pass.
Remediation can take the form of any of the scenarios above described as "Pass."
- aria-toggle-field-name
Validated? [YES] - Test Case | Updated: Sunday 03/08/2020 6:53 PM | Template Version: 03/02/2020 12:29a