Is there a way to make the tooltip accessible? It seems only activated by hover or click. It would be enough I think if I could hit enter to activate and deactivate.
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 12 Jan 2021, 06:50 AM
Hi Jason,
The Tooltip component has an Id parameter that you can use in the aria-described-by attribute of its target(s) to help screen readers. It is up to the screen reader to detect the change in the DOM and read it out. Using the click event should be sufficient for them to detect an action.
<TelerikTooltipTargetSelector="p a[title]"Id="aaaaaaaaaaaaaaa"></TelerikTooltip><p><aaria-describedby="aaaaaaaaaaaaaaa"title="what is 'lorem ipsum'?"href="https://lipsum.com/">lorem</a>
ipsum dolor
<aaria-describedby="aaaaaaaaaaaaaaa"title="is this a real word?"href="https://en.wikipedia.org/wiki/SIT">sit</a>
amet.
</p>
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.