Skip to content

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
Collaborator

patternfly-build commented Jan 16, 2025

@thatblindgeye thatblindgeye linked an issue Jan 16, 2025 that may be closed by this pull request
@thatblindgeye thatblindgeye requested review from a team, nicolethoen, tlabaj and wise-king-sullyman and removed request for a team January 21, 2025 13:40
@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.

@mfrances17 mfrances17 merged commit 754b6a7 into patternfly:v5 Feb 18, 2025
13 checks passed
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

Thanks for your contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug - File Upload- Inaccessible component

6 participants