Make post form attachments accessible
- Oct 01, 2024
-
What does this PR do? When navigating through Sharkey using the keyboard, it is now possible to select the media you've attached to a post using they keyboard in order to access their relevant menu. Fixes #705 (closed).
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
Upstreams linter was mad about the attributes not being before the event handlers, so this fixes that to match upstream when we end up merging 2024.9 (assuming it gets included in that release)
Adds a role="button", tabindex, and @keydown to MkPostFormAttaches in order to make it accessible to keyboard users.