updating tooltip fro accessibility
This commit is contained in:
parent
58c83ab508
commit
f022181e5a
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => 'a4bcdbd8641c0feace22');
|
||||
<?php return array('dependencies' => array(), 'version' => '9643594cb39c5477cd98');
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ async function initTooltips() {
|
|||
word.setAttribute("data-tooltip-word", foundTooltipDatas.title.rendered);
|
||||
word.setAttribute("data-tooltip-definition", foundTooltipDatas.acf.definition);
|
||||
}
|
||||
word.setAttribute("aria-expanded", "false");
|
||||
createTooltip(word, tooltipData[index]);
|
||||
});
|
||||
} catch (error) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -16,7 +16,7 @@ async function initTooltips() {
|
|||
word.setAttribute("data-tooltip-word", foundTooltipDatas.title.rendered);
|
||||
word.setAttribute("data-tooltip-definition", foundTooltipDatas.acf.definition);
|
||||
}
|
||||
|
||||
word.setAttribute("aria-expanded", "false");
|
||||
createTooltip(word, tooltipData[index]);
|
||||
});
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user