Makes charts and documents accessible across plotnine, plotly, and Quarto in Python, aligned with the Web Content Accessibility Guidelines (WCAG 2.1).
Project description
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 version: 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.4). https://mshin77.github.io/a11yviz
Shin, M. (2026). a11yviz: Accessibility toolkit for plotnine, plotly, and Quarto (Python package version 0.1.4). https://github.com/mshin77/a11yviz-py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file a11yviz-0.1.4.tar.gz.
File metadata
- Download URL: a11yviz-0.1.4.tar.gz
- Upload date:
- Size: 31.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4bb37226a202c95192b28af3a06756bf12dbb34ea7d27a7c4da82e0b0886631
|
|
| MD5 |
85552bf9eff889238792c177ca3135e2
|
|
| BLAKE2b-256 |
cb7d12321c3349e52302a0154ddc2359d3f3560d66b005236e51c82ed3319421
|
File details
Details for the file a11yviz-0.1.4-py3-none-any.whl.
File metadata
- Download URL: a11yviz-0.1.4-py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9adcc05f5360c98991ed3e8683b973154c40e579f4d15e9a413f7ae18660df7
|
|
| MD5 |
13ebd251b977e7f4c97c76483a3b6859
|
|
| BLAKE2b-256 |
d370f92d88af7065934c64746208d8a7e9fc1c35e9c10fad9c47311dd99245ee
|