novus / nvd3

A reusable charting library written in d3.js
http://nvd3.org/
Other
7.22k stars 2.14k forks source link

Chart hover tooltips are not accessible #2236

Open zac1st1k opened 10 months ago

zac1st1k commented 10 months ago

NVD3 version used: 1.8.6

Browser and OS used: Chrome Mac OS

Live Example: https://jsfiddle.net/zac1st1k/t8d3n57m/68/

Expected Behaviour: Tooltip should be accessible. The triggering element should be focusable. The tooltip information should have ARIA roles to be announced by screen readers.

Present Behaviour: Tooltip are not accessible. Triggering elements can not gain focus. No ARIA roles defined. No announcements from screen readers.

Screenshot:

image

Related doc: https://allyjs.io/tutorials/focusing-in-svg.html https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/