Skip to content
Snippets Groups Projects
Commit 1fba0823 authored by Olaf Schmidt-Wischhöfer's avatar Olaf Schmidt-Wischhöfer Committed by Benni Mack
Browse files

[BUGFIX] Allow keyboard usage of file upload dropzone

The dropzone for file uploads now uses two <button> tags
instead of <div> tags. One for the dropzone itself and
the other one for the close button.

The dropzone button now has got an `aria-labelledby`
attribute pointing to the dropzone title. The close
button got an `aria-label` attribute. Both to support
screen readers.

Resolves: #92680
Releases: master, 10.4
Change-Id: I32ce15dfc8c36c6fbfd17ef993ceacb8e5aaf3e0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66270


Tested-by: default avatarMichael Telgkamp <michael.telgkamp@mindscreen.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarMichael Telgkamp <michael.telgkamp@mindscreen.de>
Reviewed-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 90640146
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment