=== AddonLogic Missing Alt-Text Warning ===
Contributors: snehalpancholi
Tags: accessibility, alt-text, images, wcag, block-editor
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Warns editors in the block editor when images lack alt text, and provides a dashboard widget listing published posts with accessibility gaps.

== Description ==

AddonLogic Missing Alt-Text Warning helps your editorial team maintain accessibility standards by surfacing missing alt text before it reaches your readers.

**Features:**

* Real-time block editor notice when any image block (core/image, core/media-text) has no alt text
* Notice count updates as editors add or remove images — no page reload needed
* Dashboard widget lists published posts containing images without alt text
* Configurable per post type, notice text, and widget post limit
* Works with nested blocks (columns, groups, etc.) by traversing the full block tree
* Zero frontend impact — editor assets only

== Installation ==

1. Upload the `missing-alt-text-warning` folder to `/wp-content/plugins/`
2. Activate via **Plugins** in the WordPress admin
3. Go to **Settings → Alt-Text Warning** to customise

== Frequently Asked Questions ==

= Does this block publishing? =
No. The warning is informational only. Editors can dismiss it or publish without adding alt text.

= Does it check classic editor posts? =
The real-time warning is block editor only. The dashboard widget scans content from all posts regardless of editor.

= What counts as a missing alt attribute? =
An `alt` attribute that is absent or contains only whitespace. An alt of `""` (empty string) is intentionally valid for decorative images.

== Changelog ==

= 1.0.0 =
* Initial release
