interaktiv.accessibilitychecker
AI-based accessibility check for Plone pages.
This add-on is the backend for the AI check of volto-accessibility-checker. It analyzes the content of a page with AI to find potential accessibility issues that rule-based tools can't reliably detect, for example alt texts that may not match the image or link texts whose purpose is unclear. The results are hints for editors: the AI explains why something may be an issue, but never suggests a fix.
Prerequisites
Tested with Plone 6.
This add-on requires interaktiv.aiclient to talk to the AI. It's installed automatically as a dependency.
The check has no UI of its own. Install the Volto add-on volto-accessibility-checker to run it from the toolbar.
Configuration
Install the add-on in the Plone control panel under Add-ons. This also installs the AI Client.
Then open the AI Client control panel, enter your OpenRouter API key and select a model. The model must support:
- structured output (
response_formatwith a JSON schema), because the results are returned in a fixed format - image input, so the alt texts can be compared with the images
Requests are only routed to providers that support all request parameters, so a model without structured output fails instead of returning unusable results.
Features
The AI checks the page title, the description and all blocks in the order they are rendered, including nested blocks. Images of image blocks are sent along with the content. SVG images are converted to PNG, since OpenRouter doesn't accept them.
The following criteria are checked. The WCAG references show which success criteria a check supports. They don't represent a complete conformance assessment.
| ID | Criterion | WCAG |
|---|---|---|
| KI01 | Alt text matches the image | 1.1.1 Non-text Content |
| KI02 | Alt text fits the context | 1.1.1 Non-text Content |
| KI03 | Link texts are meaningful | 2.4.4 Link Purpose (In Context) |
| KI04 | Headings are meaningful | 2.4.6 Headings and Labels |
| KI05 | Content is logically structured | 1.3.2 Meaningful Sequence |
| KI06 | Instructions don't rely on visual cues | 1.3.3 Sensory Characteristics |
Each criterion gets a result:
pass- no issue foundfail- at least one issue found, with a severity ofminor,moderate,seriousorcriticalincomplete- the AI couldn't judge it reliably and it needs a manual review
The results are AI assessments that editors should review. A pass doesn't
guarantee WCAG conformance, and a fail isn't necessarily a confirmed
violation. The severity is a prioritization by the AI, WCAG itself doesn't
define these levels.
Failed criteria list the affected blocks, each with a short hint in the requested language. Hints that don't belong to a block, for example about the page as a whole, are returned separately.
Permissions
Running the check requires the interaktiv.accessibilitychecker: Run AI check
permission. By default, it's granted to Manager, Site Administrator, Editor,
Reviewer and Owner. In addition, the user must be allowed to edit the page in
its current workflow state.
REST API
The check is available as the @accessibility-check endpoint on every content
item with blocks:
curl -X POST http://localhost:8080/Plone/my-page/@accessibility-check \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u admin:admin \
-d '{"language": "en"}'
language sets the language of the titles, descriptions and hints. If it isn't
one of the site's available languages, the language of the page is used.
The response contains one result per criterion:
[
{
"criterion": "KI01",
"title": "Alt text matches the image",
"description": "The alternative text accurately describes the essential content of the image.",
"result": "fail",
"severity": "serious",
"affected_blocks": ["9f1a0c2e-..."],
"hints": {"9f1a0c2e-...": "The alt text describes a dog, but the image shows a cat."},
"unassigned_hints": []
}
]
| Field | Description |
|---|---|
criterion |
ID of the criterion, e.g. KI01 |
title |
Title of the criterion in the requested language |
description |
Description of the criterion in the requested language |
result |
pass, fail or incomplete |
severity |
Severity of the issue, missing for pass |
affected_blocks |
UUIDs of the affected blocks |
hints |
Hint per affected block, keyed by block UUID |
unassigned_hints |
Hints that don't belong to a block |
The endpoint responds with 401 if the user isn't allowed to run the check,
and with 502 if the AI doesn't answer or the answer can't be read.
Adding this add-on to your project
Install the add-on using pip:
pip install interaktiv.accessibilitychecker
or if you're using uv:
uv pip install interaktiv.accessibilitychecker
Install from source
You can also install the add-on from the source. In your mx.ini file, add:
[interaktiv.accessibilitychecker]
url = git@github.com:interaktivgmbh/interaktiv.accessibilitychecker.git
rev = v1.0.0
extras = test
Or using https:
[interaktiv.accessibilitychecker]
url = https://github.com/interaktivgmbh/interaktiv.accessibilitychecker.git
rev = v1.0.0
extras = test
Contribute
License
The project is licensed under GPLv2.
Changelog
1.0.0 (2026-11-13)
Feature
- Initial release
Metadata
Release files for interaktiv.accessibilitychecker 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| interaktiv_accessibilitychecker-1.0.0.tar.gz | 32.5 kB | Without provenance | Details for interaktiv_accessibilitychecker-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| interaktiv_accessibilitychecker-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for interaktiv_accessibilitychecker-1.0.0-py3-none-any.whl |
Total release size: 63.8 kB
Release files / interaktiv_accessibilitychecker-1.0.0.tar.gz
| Download URL | interaktiv_accessibilitychecker-1.0.0.tar.gz |
|---|---|
| Size | 32.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d12c7e4b77a6e63ec25913c46bf703fd7fc3da680a6a39d8a6ee539d29c751d2
|
|
BLAKE2b-256 checksum How to use checksums |
f58a0eff30c9eba133538a3c0c2babc678f62590dddb34b5cb0271d12b2fac41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Pop!_OS","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"7.1.5-76070105-generic"}} HTTPX2/2.16.0
|
Release files / interaktiv_accessibilitychecker-1.0.0-py3-none-any.whl
| Download URL | interaktiv_accessibilitychecker-1.0.0-py3-none-any.whl |
|---|---|
| Size | 31.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc437f3c221cd5b6856785563dac9281c89c6aace055ea628c5d35ac4b6d3c8a
|
|
BLAKE2b-256 checksum How to use checksums |
5b54b72a97c31b76e9b1c54cea5936fa7a5414f1affb3c40385ad8230cd2ccca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Pop!_OS","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"7.1.5-76070105-generic"}} HTTPX2/2.16.0
|
Security for interaktiv.accessibilitychecker 1.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.