Tooltip Component - Improve accessibility with appropriate aria labels #1881

Open
opened 2026-01-29 17:59:45 +00:00 by claunia · 0 comments
Owner

Originally created by @Calinator444 on GitHub (Oct 15, 2025).

Is your feature request related to a problem? Please describe.

The Razden tooltip component doesn't provide suitable attributes for screen readers. According to the Mozilla documentation, the component that triggers the tooltip should reference the tooltip by ID with aria-describedby (with the ID of the tooltip). The tooltip content should also have the attribute role='tooltip'.

Describe the solution you'd like
Update the tooltip component to populate these attributes when assigned to an element. Alternatively allow developers to specify accessibility attributes within ToolTipOptions

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
N/a

Additional context

Image

Figure: Tooltip trigger does not have aria-describedby attribute

Originally created by @Calinator444 on GitHub (Oct 15, 2025). <!-- IMPORTANT: Read this first!!! --> **Is your feature request related to a problem? Please describe.** The Razden tooltip component doesn't provide suitable attributes for screen readers. According to the [Mozilla documentation](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/tooltip_role), the component that triggers the tooltip should reference the tooltip by ID with `aria-describedby` (with the ID of the tooltip). The tooltip content should also have the attribute `role='tooltip'`. **Describe the solution you'd like** Update the tooltip component to populate these attributes when assigned to an element. Alternatively allow developers to specify accessibility attributes within `ToolTipOptions` **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. N/a **Additional context** <img width="1126" height="784" alt="Image" src="https://github.com/user-attachments/assets/02f2bc1a-c58d-4d40-b637-a0c0b3169119" /> **Figure: Tooltip trigger does not have aria-describedby attribute**
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1881