Task #92651
openEpic #89595: Improve accessibility of backend
Delete button in the text input field is not accessible
0%
Description
When you type in a text input field, a button with a "x" appears at the end of the input field.
<button type="button" tabindex="-1" class="close" style="visibility: visible;">
With this button the user can delete the text in the input field. This button has several accessibility problems:
The user cannot reach the button with the keyboard.
The button has no discernable text for screenreader users.
The contrast ratio of the "x" icon on white background is too low. It has a contrast ratio of 1.5:1, see WebAIM Color Contrast Checker. Input fields with dark background and white font color are not affected by this issue.
Updated by Riccardo De Contardi about 4 years ago
- Category set to Backend User Interface
Updated by Riccardo De Contardi 7 months ago
- Related to Task #102372: Make clearable button more accessible added
Updated by Riccardo De Contardi 7 months ago
- Related to Task #103417: Add title and aria-label to clear input button added
Updated by Riccardo De Contardi 7 months ago
Many thanks to Willi Wehmeier for his insights - I am going to write here his findings:
This issue addresses 3 problems:
1. The user cannot reach the button with the keyboard.
2. The button has no discernable text for screenreader users.
3. The contrast ratio of the "x" icon on white background is too low. It has a contrast ratio of 1.5:1, see WebAIM Color Contrast Checker
Problem 1. is a won't fix. the behavior has been patched but the patch got reverted because it has a negative impact for "normal" users. See https://forge.typo3.org/issues/102372#note-6
Problem 2. Fixed with https://forge.typo3.org/issues/103417
Problem 3. Still exists.