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

a11yviz Logo

PyPI version 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.3). https://mshin77.github.io/a11yviz

Shin, M. (2026). a11yviz: Accessibility toolkit for plotnine, plotly, and Quarto (Python package version 0.1.3). 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.3.tar.gz (30.7 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.3-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: a11yviz-0.1.3.tar.gz
  • Upload date:
  • Size: 30.7 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.3.tar.gz
Algorithm Hash digest
SHA256 e1c3fbbc10fd808146518b5f882599382b5cce3ffd30d4b8034818738f0cb92c
MD5 44d6e352d5dea17aa7601cd817b78ace
BLAKE2b-256 adc1c1534d2722f7b2ea0d20cf2514fc3f657ad39d5f9555d61a68a671710e81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a11yviz-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 33.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a5bad0ed0b35f928c5cf8fac5267d4e61ce35a90bbf36d1367d0e85c660d3628
MD5 27f038c368afcebba0f10c5e0075fb57
BLAKE2b-256 42edddd49e054f79a214139832078529ef86f4413c2b6f561834299e677bdc26

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