Project

General

Profile

Actions

Bug #91592

open

Epic #91518: Keyboard usage in the TYPO3 backend

Modal not closable using ESC when focus is inside elements of iframe

Added by Michael Telgkamp almost 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Backend JavaScript
Start date:
2020-06-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
accessibility, keyboard
Complexity:
Is Regression:
Sprint Focus:

Description

Having an iframe-modal the Escape key is not bubbled to the parent modal.

Pages loaded inside an iframe should close the parent modal when Escape key is pressed.

Code hint:

function keyPress (e) {
    if(!(window === window.parent)) { //check if the parent window exists
        if(e.key === "Escape") { // Check if Escape key is pressed
            window.parent... // close modal here
        }
    }
}

Actions #1

Updated by Benni Mack over 3 years ago

  • Target version changed from 11.0 to Candidate for Major Version
Actions

Also available in: Atom PDF