A machine-readable JSON format to document the accessibility status of web components (themes, plugins, templates, blocks, etc.).
Purpose: Developers and agencies provide standardized metadata for their work; website operators use it for legally required accessibility statements.
The following example shows a minimal accessibility.json file for a WordPress Plugin with an issue:
{
"specVersion": "1.0.0",
"language": "en",
"project": {
"name": "Feed Widget Plugin",
"version": "1.0.0",
"type": "plugin",
"platform": "WordPress",
"platformVersion": "6.5",
"contact": {
"email": "support@example.org"
},
"scope": {
"coverage": "feed functionality",
"includesContent": false,
"legalBasis": ["WCAG 2.2"]
}
},
"evaluation": {
"standard": "WCAG",
"version": "2.2",
"conformance": "partially_conformant",
"issues": [
{
"criterion": "1.4.3",
"level": "AA",
"reason": "Text size contrast fails AA requirements in feed items"
}
]
}
}
The goal of this format is to enable developers and vendors of products, plugins, themes, templates, and other components used in websites to provide a standardized statement about the accessibility of their work. The JSON-based report supplied through this format can then be used by website operators to complete their legally required accessibility statement. In practice, most website operators are not accessibility experts and therefore cannot reliably assess the technical accessibility of plugins, themes, or other third-party components.
When a website uses multiple plugins or themes, the individual JSON files can be combined to create a general accessibility statement for the entire site.
Please notice: It's important to note that these files can only represent the technical accessibility of the results generated or influenced by these components. Especially they cannot assess accessibility issues that may arise from editorial work. For a complete website test that also examines the results of editorial work, a proper test according to WCAG or other recognized testing standards is necessary.
This repository contains some more details and examples:
- Accessibility Metadata Format — Specification v1.0
- Getting started
- The JSON Schema
- Generating an
accessibility.txtFile (Optional) - Mapping to EARL
- Schema.org JSON-LD
- Frequently asked questions
- Example files
The formal definition is provided as a JSON Schema schema/v1/accessibility.schema.json
This schema describes the full structure of the accessibility.json
metadata file, including:
- Project information
- Contact details
- Scope of evaluation
- Applied accessibility standard (WCAG, EN 301 549, etc.)
- Conformance status
- Known issues
- Limitations
- Planned improvements
- Test environment
- Audit metadata
Details see Accessibility Metadata Format — Specification v1.0
This project does not replace EARL (Evaluation and Report Language) or ACT Rules. Instead, it fills a gap those W3C technologies intentionally leave open.
ACT Rules define how accessibility tests should be written, including
input conditions, testing procedures, and expected outcomes.
They do not define how accessibility reports should be stored, summarised, or
distributed.
EARL is a generic RDF-based framework to represent individual test
assertions in a machine-readable way.
It is excellent for tools but it does not define:
- project metadata
- conformance summaries
- contact information
- legal bases
- accessibility statements
- roadmaps or planned fixes
- human-oriented reporting
The Accessibility Metadata Format complements both technologies by providing the
project-level metadata and high-level reporting structure that ACT and EARL
do not cover.
In short:
- ACT defines how to test a complete website
- EARL defines raw test results
- This format defines the accessibility status for components of a website
Any standard JSON Schema validator can be used:
- ajv-cli
- python-jsonschema
- VS Code JSON Schema integration
- GitHub Actions (example workflow included)
Depending on your repository policy, this project may be published under CC BY 4.0
Pull requests and proposals for improvements to the format, schema, or documentation are welcome.
Please ensure changes remain backwards-compatible within a major version and include updated examples where required.
Wolfgang Wiese
Head of Web Development & Digital Accessibility, Regional Computing Center (RRZE)
Friedrich-Alexander-Universität Erlangen-Nürnberg
GitHub: @xwolfde
Bluesky: @xwolf.de
Contact: wolfgang.wiese@fau.de
Opinions expressed in this project are my own and do not necessarily represent the views of the university.
For questions or suggestions regarding the Accessibility Metadata Format, please open an issue in this repository.