Skip to main content

Makes charts and documents accessible across plotnine, plotly, and Quarto in Python, aligned with the Web Content Accessibility Guidelines (WCAG 2.1).

Project description

Project status: Active License: MIT

Makes charts and documents accessible across plotnine, plotly, and Quarto in Python, aligned with the Web Content Accessibility Guidelines (WCAG 2.1). Includes WCAG-tagged palettes, alt-text scaffolds, audits, a document rubric, heading and reading-level checks, shiny ARIA helpers, and a drop-in stylesheet.

R sibling: a11yviz.

Installation

pip install a11yviz

Quick start

from plotnine import aes, geom_point, ggplot, labs
from plotnine.data import penguins
import a11yviz

p = (ggplot(penguins.dropna(),
            aes("flipper_length_mm", "body_mass_g",
                color="species", shape="species"))
     + geom_point()
     + a11yviz.scale_color_a11y("dark2_8")
     + labs(x="Flipper length (mm)", y="Body mass (g)"))

a11yviz.a11y_alt_text(p, "Scatter of penguin body mass vs flipper length by species.")

Citation

Shin, M. (2026). a11yviz: Accessibility toolkit for ggplot2, plotly, and Quarto (R package version 0.1.2). https://mshin77.github.io/a11yviz

Shin, M. (2026). a11yviz: Accessibility toolkit for plotnine, plotly, and Quarto (Python package version 0.1.2). https://github.com/mshin77/a11yviz-py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a11yviz-0.1.2.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

a11yviz-0.1.2-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file a11yviz-0.1.2.tar.gz.

File metadata

  • Download URL: a11yviz-0.1.2.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for a11yviz-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a88ca8a7b0eabe529514c83269b9bed131ee28360cb27fb061fcaaa942e0c588
MD5 ec86aa95da773becc80a49250e28af5a
BLAKE2b-256 52e3692e65dee712bca333f769107443d5e09b55029863fec17e76b93a5f148f

See more details on using hashes here.

File details

Details for the file a11yviz-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: a11yviz-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for a11yviz-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b0c32b5b407cb6484a4eb013da7415a2349b11a95c439c5efb8131fd43f0c6d
MD5 a54afb05e62791d7c26ec50501cbd8a0
BLAKE2b-256 de5db9c649fe669b965e6b109d4298c32e5695cacb171982185b78672c71870c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page