Accessibility Test Cases for Web


Test Case ID: TC1005C003

ICT Baseline Test: Forms (TTv5 5.C) - InputPassword 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

Password 1: - no labeling for <input type='password'> (Fail)

Scenario 2

- Placeholder attribute labeling for <input type='password'> (Pass)

Scenario 3

: - label/for labeling for <input type='password'> (Pass)

Scenario 4

Password 4: - Title attribute labeling for <input type='password'> (Pass)

Scenario 5

Password 5: - aria-label attribute <input type='password'> (Pass)

Scenario 6

Password 6: - aria-labelledby <input type='password'> (Pass)

Scenario 7

Password 7: - aria-describedby attribute <input type='password'> (Pass/Fail?)


Interpreting Test Results

ICT Testing Baseline Status

*Note: Scenario 7 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-6 pass.

Regarding scenario 7, 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:13 PM | Template Version: 03/02/2020 12:29a