[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:Michael Telgkamp <michael.telgkamp@mindscreen.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Daniel Haupt <mail@danielhaupt.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Michael Telgkamp <michael.telgkamp@mindscreen.de> Reviewed-by:
Daniel Haupt <mail@danielhaupt.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/Sass/typo3/_element_draguploader.scss 6 additions, 1 deletionBuild/Sources/Sass/typo3/_element_draguploader.scss
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/DragUploader.ts 6 additions, 3 deletions...cript/backend/Resources/Public/TypeScript/DragUploader.ts
- typo3/sysext/backend/Resources/Public/Css/backend.css 1 addition, 1 deletiontypo3/sysext/backend/Resources/Public/Css/backend.css
- typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js 1 addition, 1 deletion...ysext/backend/Resources/Public/JavaScript/DragUploader.js
- typo3/sysext/core/Resources/Private/Language/locallang_core.xlf 3 additions, 0 deletions...sysext/core/Resources/Private/Language/locallang_core.xlf
Please register or sign in to comment