=== DigitalPlugs ADA Compliance ===
Contributors: digitalplugs
Tags: accessibility, ada, wcag, section 508, accessibility checker
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scan your content for WCAG 2.2, Section 508 and ADA accessibility issues, and fix them without leaving wp-admin.

== Description ==

DigitalPlugs ADA Compliance scans your posts and pages for real, code-level accessibility defects — missing alt text, broken heading structure, unlabeled form fields, low-contrast text and more — and shows you exactly what to fix and why, right inside the post editor.

Unlike accessibility overlay widgets, this plugin does not claim to make your site instantly "compliant." It finds real WCAG 2.x and Section 508 failures in your actual markup so you, or your developer, can fix them.

= Scanning =

* Unlimited posts and pages scanned — no artificial cap on free-tier scan size
* Real-time scanning on every publish or update (can be turned off in Settings)
* On-demand "Start Scan" of your whole site, processed in safe background batches so it never times out
* 48 individual accessibility checks, covering:
    * Images: missing, empty and invalid alt text; redundant alt/title; aria-hidden conflicts; image maps; self-linked images
    * Links: empty links, ambiguous link text, adjacent duplicate links, redundant link text, unannounced new-window links, bare URLs as link text, unlinked email addresses
    * Headings: missing, empty, skipped levels, missing or duplicate H1
    * Forms: missing or empty labels, mismatched label targets, ungrouped related fields
    * Tables: missing or empty headers, invalid scope, layout tables, orphaned header references
    * ARIA: invalid element references, empty labels, missing page language
    * Media: autoplaying audio/video with no controls, embeds with no fallback text
    * Content hygiene: duplicate or blank titles, redundant title attributes, unreadable viewport-unit font sizing, fake paragraph spacing, malformed lists, duplicated table captions
    * Color contrast: inline text/background combinations below the 4.5:1 minimum, absolute font sizing
    * Keyboard access: click-only handlers, disrupted tab order, meta-refresh redirects, JavaScript-only navigation menus
    * WCAG 2.2: minimum target size (2.5.8), focus not obscured (2.4.11)

= Where you see it =

* A dashboard with an issue summary, a compliance score, and a per-check breakdown
* A filterable, sortable issues list — filter by status, error type or post type, search by title or post ID, and Ignore, Recheck or View the offending markup for any issue
* A Block Editor sidebar panel showing the open issues for the post you're editing, with a one-click Recheck that rescans without a full save
* A matching notice for the Classic Editor
* A Guidelines Reference page explaining every check in plain English, with its WCAG citation
* A Site Health status card summarizing your site's open issues

= Configuration =

* Choose which post types are scanned
* Turn real-time scanning on or off
* Choose whether plugin data is removed on uninstall

= Built to the standard it enforces =

The plugin's own admin screens and Block Editor panel are audited against the same WCAG 2.2 AA and Section 508 rules the scanner checks your content for: full keyboard operability, visible focus states, correctly associated form labels, non-skipping heading structure, and severity information that is never color-only.

= Upgrade to Pro =

DigitalPlugs ADA Compliance Pro adds full-site scanning (custom post types, theme files, widgets, menus, PDFs and more), automatic remediation with an undo log, scheduled scans with email digests, VPAT/ACR report generation, a front-end accessibility toolbar, WP-CLI, a REST API, and more.

== Installation ==

1. Upload the `dp-ada-compliance` folder to `/wp-content/plugins/`, or install it through the Plugins screen in wp-admin.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Visit **ADA Compliance** in your wp-admin menu to run your first scan.

== Frequently Asked Questions ==

= Does this plugin make my site legally compliant? =

No plugin can guarantee legal compliance on its own. This plugin finds real accessibility defects in your content and helps you fix them, which is the most effective way to reduce risk — but compliance depends on your entire site, not just the content this plugin scans.

= How is this different from an accessibility overlay widget? =

This plugin scans and helps you fix your underlying HTML — it edits the real markup your content is made of. It does not inject a JavaScript widget that claims to fix accessibility for visitors automatically, and it never claims instant compliance. Overlay-only solutions have faced FTC enforcement action for exactly that kind of claim, and are frequently rejected by courts as evidence of compliance.

= Is the plugin's own admin interface accessible? =

Yes. DigitalPlugs ADA Compliance is built and audited against the same WCAG 2.2 and Section 508 rules it checks your content for — every admin screen and the Block Editor sidebar panel are checked for full keyboard operability, a logical tab order, visible focus styles, correctly associated form labels, a non-skipping heading structure, and severity information that is never conveyed by color alone. The "View Code" preview window traps keyboard focus while open and returns focus to the link that opened it when closed. If you find an accessibility issue in the plugin's own interface, please report it on the support forum — we treat that as a bug.

= Will this slow down my site? =

No. Scanning happens in wp-admin only — on save, or during a background "Start Scan" batch — never on the front end a visitor sees.

== Changelog ==

= 1.0.0 =
* Initial public release.
* 48 accessibility checks across images, links, headings, forms, tables, ARIA, media, content hygiene, color contrast, keyboard access and WCAG 2.2.
* Real-time and on-demand scanning of posts and pages, with configurable scope.
* Dashboard, filterable issues list, Guidelines Reference page and Site Health integration.
* Block Editor sidebar panel and Classic Editor notice.

== Upgrade Notice ==

= 1.0.0 =
Initial public release.
