You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the PR 23526 the time tooltips began to be interactive, which means that the tippy module enable aria attributes as aria-expanded. However this attribute is invalid in the context of the actual estructure of the tooltip caller (the span container) which doesn't use labelledby to link the tooltip and haven't a role neither.
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.
Description
With the PR 23526 the time tooltips began to be interactive, which means that the tippy module enable aria attributes as
aria-expanded
. However this attribute is invalid in the context of the actual estructure of the tooltip caller (the span container) which doesn't use labelledby to link the tooltip and haven't a role neither.Description of tooltip role in MDN https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tooltip_role
Description of tooltip role in current WAI-ARIA W3C Recommendation https://www.w3.org/TR/2017/REC-wai-aria-1.1-20171214/#tooltip
Gitea Version
1.19
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Locally and tested in https://try.gitea.io
Database
None
The text was updated successfully, but these errors were encountered: