An aria-hidden="true" attribute is used on a focusable <input> element. This makes the input inaccessible to assistive technologies and disrupts keyboard navigation, violating WCAG 2.2 Success Criterion 2.1.1 (Keyboard).
To Reproduce
Steps to reproduce the behavior:
Open the "Selecting ENCs" page from FSS.
Locate the "Click to choose a file" upload button.
Use a web accessibility testing tool like ARC Toolkit.
Observe the error indicating the aria-hidden attribute is incorrectly applied to the focusable file input element.
Expected Behavior
Focusable elements like inputs should not have aria-hidden="true", as it hides them from assistive technologies. Instead, ensure the element is both focusable and visible to all users.
Screenshots
Additional Context
This issue affects the file upload control used for adding ENC lists. The file input field is hidden with aria-hidden="true", but it remains focusable, leading to confusion and accessibility barriers. Removing the aria-hidden attribute or adjusting its usage ensures that the element is both visible and operable by all users, including those using assistive technologies.
Describe the Bug
An
aria-hidden="true"
attribute is used on a focusable<input>
element. This makes the input inaccessible to assistive technologies and disrupts keyboard navigation, violating WCAG 2.2 Success Criterion 2.1.1 (Keyboard).To Reproduce
Steps to reproduce the behavior:
aria-hidden
attribute is incorrectly applied to the focusable file input element.Expected Behavior
Focusable elements like inputs should not have
aria-hidden="true"
, as it hides them from assistive technologies. Instead, ensure the element is both focusable and visible to all users.Screenshots
Additional Context
This issue affects the file upload control used for adding ENC lists. The file input field is hidden with
aria-hidden="true"
, but it remains focusable, leading to confusion and accessibility barriers. Removing thearia-hidden
attribute or adjusting its usage ensures that the element is both visible and operable by all users, including those using assistive technologies.