From d05a6d800fa2e49950ca0fa527197f0abedf41ea Mon Sep 17 00:00:00 2001 From: devland <5208532+devland@users.noreply.github.com> Date: Fri, 12 Apr 2024 00:29:41 -0700 Subject: [PATCH] HFP-3807 replace aria-popup with aria-haspopup (#302) --- src/scripts/cp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/cp.js b/src/scripts/cp.js index 5c4af22d..1e9f9ab1 100644 --- a/src/scripts/cp.js +++ b/src/scripts/cp.js @@ -1103,7 +1103,7 @@ CoursePresentation.prototype.createInteractionButton = function (element, instan role: 'button', tabindex: 0, 'aria-label': label, - 'aria-popup': true, + 'aria-haspopup': 'dialog', 'aria-expanded': false, 'class': `h5p-element-button h5p-element-button-${element.buttonSize} ${libTypePmz}-button` });