mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-09-24 02:39:11 +00:00
Remove wrong ARIA role=tooltip
from container
Removing wrong ARIA `role=tooltip`. Those are meant only for static text content on short `title` like dynamic tooltips. Bug: T223827 Change-Id: Ib4f490c7ad421e516fb0cf47eff4335bcaf26c43
This commit is contained in:
parent
5f573d1abf
commit
d1fc6786bf
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -13,7 +13,7 @@ export function renderPopup( type, html ) {
|
|||
type = escapeHTML( type );
|
||||
|
||||
return $( $.parseHTML( `
|
||||
<div class='mwe-popups mwe-popups-type-${ type }' role='tooltip' aria-hidden>
|
||||
<div class='mwe-popups mwe-popups-type-${ type }' aria-hidden>
|
||||
<div class='mwe-popups-container'>${ html }</div>
|
||||
</div>
|
||||
`.trim() ) );
|
||||
|
|
Loading…
Reference in a new issue