Skip to content

Commit

Permalink
HFP-3807 replace aria-popup with aria-haspopup (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
devland authored Apr 12, 2024
1 parent 9b4d0d5 commit d05a6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
});
Expand Down

0 comments on commit d05a6d8

Please sign in to comment.