loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add aria attributes to interactive time tooltips. (#23661)

Fixes #23645
* Added `describedby` attribute to the reference element.
* Eliminated `aria-expanded` attribute to the reference element in order
to conform strictly with WCAG 2.1 rules.

authored by

Felipe Leopoldo Sologuren Gutiérrez and committed by
GitHub
87f0f7e6 d02e83a2

+1 -1
+1 -1
web_src/js/modules/tippy.js
··· 44 44 delay: 100, 45 45 role: 'tooltip', 46 46 placement: target.getAttribute('data-tooltip-placement') || 'top-start', 47 - ...(target.getAttribute('data-tooltip-interactive') === 'true' ? {interactive: true} : {}), 47 + ...(target.getAttribute('data-tooltip-interactive') === 'true' ? {interactive: true, aria: {content: 'describedby', expanded: false}} : {}), 48 48 }; 49 49 50 50 if (!target._tippy) {