Skip to content

[A11Y] Interactive time tooltip are not accessible #23645

Closed
@fsologureng

Description

@fsologureng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/accessibilityThis issue/pull request wants to improve the accessibilitytype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions