Actions
Bug #104171
openMake context menu fire 'click' on keyboard spacebar press
Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2024-06-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
UX, accessibility
Complexity:
easy
Is Regression:
Sprint Focus:
On Location Sprint
Description
The context-menu does not fire 'click' on spacebar press.
Technical background¶
event.key
for spacebar is 'event.code
for spacebar is 'Space
'
https://www.toptal.com/developers/keycode/space
/* current implementation */
switch (event.key) {
case 'Enter':
case 'Space':
target.click();
break;
}
/* must become */
switch (event.key) {
case 'Enter':
case ' ':
target.click();
break;
}
Updated by Riccardo De Contardi 5 months ago
- Tags changed from UX,Accessibility to UX accessibility
Updated by Riccardo De Contardi 5 months ago
- Tags changed from UX accessibility to UX, accessibility
Updated by Riccardo De Contardi 5 months ago
- Complexity set to easy
- Sprint Focus set to On Location Sprint
Updated by Ayke Halder 4 months ago
- Related to Epic #91518: Keyboard usage in the TYPO3 backend added
Actions