Project

General

Profile

Actions

Bug #104171

closed

Make context menu fire 'click' on keyboard spacebar press

Added by Ayke Halder 8 months ago. Updated 6 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2024-06-21
Due date:
% Done:

100%

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 ' ' (blank)
  • 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;
}

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Epic #91518: Keyboard usage in the TYPO3 backendAcceptedMichael Telgkamp2020-06-05

Actions
Actions #1

Updated by Riccardo De Contardi 8 months ago

  • Tags changed from UX,Accessibility to UX accessibility
Actions #2

Updated by Riccardo De Contardi 8 months ago

  • Tags changed from UX accessibility to UX, accessibility
Actions #3

Updated by Riccardo De Contardi 7 months ago

  • Complexity set to easy
  • Sprint Focus set to On Location Sprint
Actions #4

Updated by Ayke Halder 6 months ago

  • Related to Epic #91518: Keyboard usage in the TYPO3 backend added
Actions #5

Updated by Gerrit Code Review 8 days ago

  • Status changed from New to Under Review

Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #6

Updated by Gerrit Code Review 7 days ago

Patch set 14 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #7

Updated by Gerrit Code Review 7 days ago

Patch set 15 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #8

Updated by Gerrit Code Review 7 days ago

Patch set 16 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #9

Updated by Gerrit Code Review 7 days ago

Patch set 17 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #10

Updated by Gerrit Code Review 7 days ago

Patch set 18 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #11

Updated by Gerrit Code Review 7 days ago

Patch set 19 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #12

Updated by Gerrit Code Review 7 days ago

Patch set 20 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #13

Updated by Gerrit Code Review 7 days ago

Patch set 21 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87887

Actions #14

Updated by Gerrit Code Review 6 days ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88025

Actions #15

Updated by Benjamin Kott 6 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF