WordPress
The Parity Accessibility plugin adds editor-side checks against Parity. Finish the Parity-side setup first, then install the plugin in WordPress.
Requirements
- WordPress 6.0+
- PHP 8.0+
- HTTPS on both WordPress and Parity
Installation
- Zip the plugin folder from your Parity release (or use the ZIP your team distributes).
parity-accessibility - In WP Admin: Plugins → Add New → Upload Plugin, choose the ZIP, install, and activate.
- Go to Settings → Parity Accessibility and enter:
- API base URL — Parity origin (no trailing slash), e.g. https://parity.example.com
- Internal Site ID — copy it from the CMS integration helper in Parity site settings
- API key — CMS Integration key from Parity org settings
- Open a post in the block editor; the Accessibility panel should appear in the right sidebar when the plugin can reach Parity.
Security
The key is stored in WordPress options and is only manageable by users who can manage_options. Do not paste read/write org keys into WordPress — use a CMS-scoped key.
API contract (reference)
Pre-publish checks call POST /api/v1/sites/{siteId}/cms-check with Authorization: Bearer <api_key> and body { "url": "<preview-url>" }. The PHP function parity_a11y_run_check( string $preview_url ) wraps the same contract for custom integrations.