=== AddonLogic Admin Color-Contrast Checker ===
Contributors: snehalpancholi
Tags: accessibility, wcag, color contrast, a11y, admin
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Test foreground and background color pairs against WCAG 2.1 AA and AAA contrast ratio requirements directly in the WordPress admin.

== Description ==

Admin Color-Contrast Checker gives you an instant WCAG compliance test for any two colours, right inside your WordPress dashboard.

**Features:**
* Real-time contrast ratio calculation using WCAG 2.1 luminance formula
* Pass/fail badges for AA Normal, AA Large, AAA Normal, and AAA Large
* Live preview showing your text on the chosen background
* Colour picker + manual hex input with two-way sync
* Quick presets for common WordPress admin colour pairs
* WCAG reference table built in
* Zero front-end impact — admin-only tool

== Installation ==

1. Upload the `admin-color-contrast-checker` folder to `/wp-content/plugins/`.
2. Activate via **Plugins → Installed Plugins**.
3. Go to **Tools → Color Contrast**.

== Frequently Asked Questions ==

= What is a WCAG contrast ratio? =
WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios so that people with low vision can read text. AA level (4.5:1 for normal text) is the legal minimum in many jurisdictions.

= What counts as "large text"? =
Text at 18pt (24px) or larger, or 14pt (approx. 19px) when bold.

= Does this affect my site's front end? =
No. Assets are only loaded on the Tools → Color Contrast admin page.

== Changelog ==

= 1.0.0 =
* Initial release.

== Screenshots ==

1. Color input panel with picker and hex field.
2. Results panel showing contrast ratio and WCAG pass/fail badges.
3. Live preview of the chosen colour combination.
