Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(FileUpload): hid input of type file from AT #11438

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

thatblindgeye
Copy link
Contributor

What: Towards #11343

The input was not intended to be exposed to users to navigate to and was simply required for dropzone. Keeping it exposed ends up allowing it to be focused which when it is, focus ends up being lost on the page. There should be enough context elsewhere in the components to indicate file uploading capability.

To test, go to an example in both components and navigate via keyboard and VoiceOver. Via keyboard the focus shouldn't get lost when navigating through the component elements, and via VoiceOver you should not hear an announcement along the lines of "Choose a file: no file chosen" (this is the output from the input type="file" element).

Additional issues:

@patternfly-build
Copy link
Contributor

patternfly-build commented Jan 16, 2025

@thatblindgeye
Copy link
Contributor Author

Putting do not merge label for now as it might be nice to try getting a fix for #11416 in while we still have the issue present in CI.

@thatblindgeye thatblindgeye force-pushed the iss11343_fileUpload_inputA11y branch from 0c65e1d to 69bcc40 Compare January 27, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug - File Upload- Inaccessible component
3 participants