=== AccessRadar – WCAG Accessibility Scanner ===
Contributors: wcagworld
Tags: accessibility, wcag, ada compliance, woocommerce, accessibility checker
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 0.5.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scan your WooCommerce store for real WCAG 2.2 accessibility issues, right from wp-admin — powered by the AccessRadar scanner at wcag.world.

== Description ==

AccessRadar finds real, honest accessibility problems on your storefront — missing alt text, low-contrast text, unlabeled form fields, keyboard traps, and more — using the same axe-core-based scan engine that powers [AccessRadar on wcag.world](https://www.wcag.world/accessradar).

**This plugin does not "fix" your site, and it is not an overlay.** Overlay widgets that claim to make a site instantly compliant do not resolve underlying HTML/CSS issues and are widely criticized by accessibility experts and disability advocates. AccessRadar only tells you, in plain language, what's actually wrong and where — so you or your developer can fix the real markup.

= What it does =

* Connects your store to your AccessRadar account via an API key (free signup at wcag.world)
* Runs a multi-page crawl scan of your live storefront on demand
* Shows an overall accessibility score, issue count, and the top findings by impact (critical/serious/moderate/minor) right in wp-admin
* Links out to the full report and remediation guidance on wcag.world
* Free tier: 1 site, periodic manual scans. Paid tiers (managed on wcag.world, not in this plugin) add more sites, scheduled monitoring, and PDF reports.

= What it does NOT do =

* It does not inject any script into your storefront's public pages (no overlay, no accessibility toolbar).
* It does not modify your theme or content.
* The scan itself always runs server-side on wcag.world — this plugin is a thin dashboard for it, so functionality depends on a working connection to the AccessRadar API.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/accessradar`, or install via Plugins → Add New.
2. Activate the plugin.
3. Go to WooCommerce → AccessRadar (or Tools → AccessRadar if WooCommerce isn't active).
4. Create a free account at [wcag.world](https://www.wcag.world/app/signup), copy your API key, and paste it in.
5. Click "Run accessibility scan".

== Frequently Asked Questions ==

= Does this plugin store my scan results? =

Scan results are stored in your AccessRadar account on wcag.world and shown to you inside wp-admin. This plugin caches only the ID of your most recent scan locally so it can poll for status.

= Do I need a WooCommerce store to use this? =

No — AccessRadar scans your site's public pages regardless of WooCommerce. The plugin lives under the WooCommerce menu because that's our primary audience (ecommerce sites facing ADA/EAA legal exposure), but it works for any WordPress site.

= Is there a free plan? =

Yes. Free accounts get 1 site and manual on-demand scans. See https://www.wcag.world/app/upgrade for paid plans.

== Screenshots ==

1. Connect screen — paste your AccessRadar API key.
2. Scan results — score, issue count, and top findings by impact.

== Changelog ==

= 0.5.0 =
* Fixed "cURL error 28: Connection timed out after 10002 milliseconds" on Save & Verify: WordPress's HTTP library enforces its own 10s connect-phase timeout regardless of the request's `timeout` argument. The AccessRadar API calls now explicitly set the connect timeout, force IPv4 (avoiding dual-stack connect overhead), and retry once automatically on a transient connect-phase network error before showing an error.
* Redesigned the admin UI to match the AccessRadar Shopify app: gradient hero header with a live connection status pill, animated SVG accessibility-score donut with count-up, severity chips that filter the Findings table, toast notifications on connect/scan events, and card elevation/hover effects. No changes to scan logic — same wcag.world API calls as before.

= 0.4.0 =
* Added automatic updates: the plugin now checks wcag.world for new releases and offers them right on the Plugins screen, like a WordPress.org-hosted plugin — no more manual .zip uploads.

= 0.3.0 =
* Scan History tab now shows your real cross-site scan history from wcag.world (GET /api/v1/scans) instead of a local per-browser list.
* Guides tab now pulls live posts from the wcag.world blog (GET /api/v1/blog), falling back to static guide links if the feed is unreachable.

= 0.2.0 =
* Top-level "AccessRadar" admin menu with tabs: Dashboard, Scan History, Findings, Guides, Settings.

= 0.1.0 =
* Initial scaffold: connect account, run scan, view top findings, link to full report.

== External services ==

This plugin connects to the AccessRadar API at `https://www.wcag.world/api/v1/*`, operated by WCAG.World, to run accessibility scans and retrieve results. When you click "Run accessibility scan", your site's homepage URL is sent to this API together with your API key, and up to 25 of your site's public pages are crawled and scanned server-side.

By using this plugin you agree to the AccessRadar [Terms of Service](https://www.wcag.world/terms) and [Privacy Policy](https://www.wcag.world/privacy). No data is sent until you enter your API key and click "Run accessibility scan".
