Skip to main content

Accessibility tools for matplotlib, plotly, and Quarto

Project description

a11yviz

PyPI version Python versions License: MIT

Tools to make matplotlib and plotly charts plus Markdown / Quarto documents follow the Web Content Accessibility Guidelines (WCAG 2.1). Provides accessible themes, layout helpers, WCAG-tagged palettes, alt-text scaffolds, per-criterion audits, a chart-and-document rubric, heading-hierarchy and reading-level checks, and a drop-in stylesheet for HTML tables and SVG diagrams. R sibling: a11yviz.

Scope. Chart-and-document subset of WCAG 2.1 — 15 of ~50 A/AA criteria. Not a substitute for whole-app review with assistive technologies.

Installation

pip install a11yviz

Quick start

import matplotlib.pyplot as plt
import a11yviz

with a11yviz.theme(level="AA"):
    fig, ax = plt.subplots()
    ax.scatter(mpg, weight, c=cyl)

a11yviz.alt_text(fig, "Scatter of weight vs MPG by cylinder count.")

Try the Playground

mshin77.github.io/a11yviz/playground — side-by-side R and Python walkthroughs with interactive shinylive apps, palette catalogues, and a WCAG rubric. Runs entirely in the browser. No install required.

Learn more

Citation

Shin, M. (2026). a11yviz: Accessibility toolkit for matplotlib, plotly, and Quarto (Python package version 0.1.0). https://mshin77.github.io/a11yviz

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.0.tar.gz (32.0 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.0-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: a11yviz-0.1.0.tar.gz
  • Upload date:
  • Size: 32.0 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.0.tar.gz
Algorithm Hash digest
SHA256 13da5fee967d842e38b9646ed8cd3e1e50c125a1330d7ad6c0109ca09b6b7a2f
MD5 d5373b272f104e95c0cf7b85f812a717
BLAKE2b-256 312fd6e907b37bce3a54acca63ccdcf246d70942204615b6f6038d2729ebb810

See more details on using hashes here.

File details

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

File metadata

  • Download URL: a11yviz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ae2f3749ee6c88ff54132b6d7872b67a5ac97515cc7737e823d381b80127a1
MD5 c7f5f4af3eb5106c870441e9314c5aa2
BLAKE2b-256 e1f2a043eaf96b5db84606573b3423f5174b28873df3ae1bf6814da6c4861e56

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