Hide redundant confirmation dialog exit button for assistive technologies.
HFJ-2004pull/22/head
parent
d42630c369
commit
e10594fb49
|
@ -120,6 +120,7 @@ H5P.ConfirmationDialog = (function (EventDispatcher) {
|
|||
// Exit button
|
||||
var exitButton = document.createElement('button');
|
||||
exitButton.classList.add('h5p-confirmation-dialog-exit');
|
||||
exitButton.setAttribute('aria-hidden', 'true');
|
||||
exitButton.title = options.cancelText;
|
||||
|
||||
// Cancel handler
|
||||
|
|
Loading…
Reference in New Issue