Accessibility Test Cases for Web


Test Case ID: TC1005C002

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

- Input File button with no labeling for <input type='file'> (Fail)

Scenario 2

- Input File button with title attribute labeling for <input type='file'> (Pass)

Scenario 3

- Input File button with aria-label attribute labeling for <input type='file'> (Pass)

Scenario 4

- Input File button with aria-labelledby attribute labeling for <input type='file'> (Pass)

Scenario 5

- Input File button with aria-describedby attribute labeling for <input type='file'> (Pass)


Interpreting Test Results

ICT Testing Baseline Status

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

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