[A11Y] Interactive time tooltip are not accessible #10486

Closed
opened 2025-11-02 09:09:04 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @fsologureng on GitHub (Mar 22, 2023).

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

tippy function
AxeCore DevTools critical issue

Git Version

No response

Operating System

No response

How are you running Gitea?

Locally and tested in https://try.gitea.io

Database

None

Originally created by @fsologureng on GitHub (Mar 22, 2023). ### Description With the PR [23526](https://github.com/go-gitea/gitea/pull/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 ![tippy function](https://user-images.githubusercontent.com/5055343/227049019-575bdcfb-5710-4eac-a449-9e1ac45304e4.png) ![AxeCore DevTools critical issue](https://user-images.githubusercontent.com/5055343/227050033-31e05b73-310d-4fba-b2ad-c7231f06e5a3.png) ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Locally and tested in https://try.gitea.io ### Database None
GiteaMirror added the topic/accessibilitytype/bug labels 2025-11-02 09:09:04 -06:00
Author
Owner

@silverwind commented on GitHub (Mar 23, 2023):

Tippy has some aria options, what should we set instead for such interactive tooltips?

@silverwind commented on GitHub (Mar 23, 2023): Tippy has some [aria options](https://atomiks.github.io/tippyjs/v6/all-props/#aria), what should we set instead for such interactive tooltips?
Author
Owner

@fsologureng commented on GitHub (Mar 23, 2023):

Tippy has some aria options, what should we set instead for such interactive tooltips?

Thank you for your guidance to the manual 👍

@fsologureng commented on GitHub (Mar 23, 2023): > Tippy has some [aria options](https://atomiks.github.io/tippyjs/v6/all-props/#aria), what should we set instead for such interactive tooltips? Thank you for your guidance to the manual :+1:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10486