Skip to main content

accessibility-devkit for Python

A dependency-free Python 3.11+ package with the same commands, JSON contract, findings, and exit codes as @accessibility-devkit/cli.

python -m pip install accessibility-devkit

Run without keeping a global install:

pipx run accessibility-devkit scan ./index.html --profile all

Python API

from accessibility_devkit import (
    assess_time_limit,
    get_contrast_ratio,
    meets_contrast_threshold,
    scan_source,
)

ratio = get_contrast_ratio("#595959", "#ffffff")
passes = meets_contrast_threshold("#595959", "#ffffff")
timing = assess_time_limit({"adjustmentMultiplier": 10})
report = scan_source('<html lang="en"><main></main></html>', target="inline.html")

CLI

accessibility-devkit scan <files...> [--profile cvi|switch|all] [--format text|json]
accessibility-devkit contrast <foreground> <background> [--level AA|AAA] [--text-size normal|large]
accessibility-devkit readability <file|->
accessibility-devkit timing <policy.json>

Manual checks never fail CI. Static analysis does not replace browser, assistive-technology, or human verification; read each report's manualChecks before drawing a conclusion.

MIT © Luke Steuber.

Metadata

Release files for accessibility-devkit 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for accessibility-devkit 1.1.2
File Size Uploaded Provenance Actions
accessibility_devkit-1.1.2.tar.gz 12.5 kB With provenance Details for accessibility_devkit-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for accessibility-devkit 1.1.2
File Interpreter ABI Platform Actions
accessibility_devkit-1.1.2-py3-none-any.whl Python 3 none any Details for accessibility_devkit-1.1.2-py3-none-any.whl

Total release size: 27.2 kB

Release files / accessibility_devkit-1.1.2.tar.gz

Download URL accessibility_devkit-1.1.2.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b9fe06b948aa18a7ddf9cb0fcdd1e89f05eff6d37d8e2cad4ddb5e841db56ac6
BLAKE2b-256 checksum
How to use checksums
7eee274f5b93210358eb13fb8bb247c77bdfe32dfa86312adf40da7c9607d26f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

Release files / accessibility_devkit-1.1.2-py3-none-any.whl

Download URL accessibility_devkit-1.1.2-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0030d426dc941518428675e02546b1f46fff3cc5f626f57d403dbadc24d911c7
BLAKE2b-256 checksum
How to use checksums
81da90bccd25b89bab72c28e11a726988c11f095ee5960bd878eac555e8e6230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

Security for accessibility-devkit 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for accessibility_devkit-1.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page