Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Labels
Description
Problem
Currently matplotlib supports adding hyperlinks in SVGs, but (I believe) it lacks support for setting anaria-label
attribute on links to improve accessibility.
Proposed solution
Alongside existing functionality to provide URLs for SVG hyperlinks (like theurl=
arg andset_urls()
), a user should be able to provide correspondingaria-label
attributes to be set for<a>
tags.
Additional context and prior art
An example use case for this is adding links to an SVG scatter plot for use on the web where the points are too densely packed to make text labeling feasible.