Metadata-Version: 2.4
Name: a11yviz
Version: 0.1.2
Summary: Makes charts and documents accessible across plotnine, plotly, and Quarto in Python, aligned with the Web Content Accessibility Guidelines (WCAG 2.1).
Author-email: Mikyung Shin <shin.mikyung@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/mshin77/a11yviz-py
Project-URL: Documentation, https://mshin77.github.io/a11yviz
Project-URL: Issues, https://github.com/mshin77/a11yviz-py/issues
Keywords: accessibility,wcag,plotnine,plotly,quarto,a11y
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: plotly
Requires-Dist: plotly>=5.0; extra == "plotly"
Provides-Extra: plotnine
Requires-Dist: plotnine>=0.13; extra == "plotnine"
Provides-Extra: playground
Requires-Dist: shiny>=1.0; extra == "playground"
Requires-Dist: plotnine>=0.13; extra == "playground"
Requires-Dist: pandas>=2; extra == "playground"
Provides-Extra: test
Requires-Dist: pytest>=7; extra == "test"
Requires-Dist: plotly>=5.0; extra == "test"
Requires-Dist: plotnine>=0.13; extra == "test"
Dynamic: license-file

<img src="logo.svg" align="right" height="139" alt="" />

[![Project status: Active](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Makes charts and documents accessible across
[plotnine](https://plotnine.org/),
[plotly](https://plotly.com/python/), and [Quarto](https://quarto.org/)
in Python, aligned with the [Web Content Accessibility Guidelines
(WCAG 2.1)](https://www.w3.org/TR/WCAG21/). 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](https://github.com/mshin77/a11yviz).

## Installation

    pip install a11yviz

## Quick start

```python
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>
