Skip to content

WCAG - Tooltips#4133

Open
milospp wants to merge 2 commits intovivo-project:mainfrom
milospp:feature/wcag-tooltips
Open

WCAG - Tooltips#4133
milospp wants to merge 2 commits intovivo-project:mainfrom
milospp:feature/wcag-tooltips

Conversation

@milospp
Copy link
Contributor

@milospp milospp commented Feb 10, 2026

Tooltips Issue
Linked Vitro PR

What does this pull request do?

Introduces WCAG-compliant tooltip behavior with improved keyboard focus handling and screen-reader accessibility.

What's new?

Tooltip can be focused using the tab key or accessed via screen readers
Tooltips can be opened using the keyboard
Clickable tooltips introduce a focus trap: Tab selection cycles through elements inside the tooltip
Hover tooltips are now selectable (they don’t disappear when the user moves the cursor onto the tooltip content)
Added i18n for some tooltip strings

How should this be tested?

Open the relevant page(s) and try navigating through all tooltip triggers using the keyboard (Tab / Shift+Tab)
image
image
Verify the following behaviors:

  • Some tooltips appear on keyboard focus (hoverable tooltips)
  • Others require an explicit action (Enter or Space) to open
  • Clickable tooltips should trap focus: Tab should iterate through elements inside the tooltip image
  • Hover tooltips should remain visible and selectable when hovering over the tooltip content imageimage

Interested parties

@VIVO-project/vivo-committers

Reviewers' expertise

Candidates for reviewing this PR should have some of the following expertises:

  1. HTML, CSS, JavaScript
  2. FreeMarker

@milospp milospp changed the title Feature/wcag tooltips WCAG - Tooltips Feb 10, 2026
@chenejac chenejac linked an issue Feb 16, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tooltips

1 participant