Skip to content

Provide ARIA accessibility support #361

@jheer

Description

@jheer

It would be valuable (and more equitable) if Plot could generate more accessible output. A useful starting point could be to leverage ARIA attributes in the generated SVG, such as role, aria-label, aria-hidden, etc.

@domoritz and I did some work in Vega and Vega-Lite to expose those attributes and provide initial automatic labeling support for axes, legends, titles, and data points. Feel free to take a look if it is helpful to you. Here is a relevant example Vega specification: https://vega.github.io/vega/examples/flight-passengers/. Vega-Lite then leverages these features to provide a bit more automatically (I'm sure Dominik could describe this more if desired).

Chartability is another resource to consult: https://chartability.fizz.studio/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions