From 0678126f82708598a545e330c857d6346c722f21 Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Fri, 23 Nov 2018 16:40:18 +0100 Subject: [PATCH] HFP-2398 Add aria-label to fullscreen buttons --- js/h5p.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/h5p.js b/js/h5p.js index f3a5575..eb685c5 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -139,6 +139,7 @@ H5P.init = function (target) { '
' + '
' + '') @@ -568,7 +569,7 @@ H5P.fullScreen = function ($element, instance, exitCallback, body, forceSemiFull } before('h5p-semi-fullscreen'); - var $disable = H5P.jQuery('
').appendTo($container.find('.h5p-content-controls')); + var $disable = H5P.jQuery('
').appendTo($container.find('.h5p-content-controls')); var keyup, disableSemiFullscreen = H5P.exitFullScreen = function () { if (prevViewportContent) { // Use content from the previous viewport tag