=== Images Without Alt Text ===
Contributors: helpzone
Tags: media, accessibility, alt text, seo, dashboard, wp-cli
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 2.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Dashboard widget that lists image attachments missing ALT text and lets you auto-fill ALT from the image title (secure, fast, paginated). Includes a WP-CLI command.

== Description ==

**Why this plugin?**
- Quickly see how many images are missing `alt` text.
- Paginated list (100 per page) right in the dashboard.
- One-click **Auto-Fill ALT from Title** (batch size fixed to 500 for simplicity).
- Secure nonces + capability checks (`upload_files` by default).
- **WP-CLI** support for large libraries:
  - `wp images-alt count`
  - `wp images-alt fix --limit=1000`

**Performance notes**
- Uses lean queries (IDs only when counting, no term/meta cache).
- Optional transient caching stub included in code (commented).

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install the ZIP via **Plugins → Add New → Upload**.
2. Activate the plugin.
3. Visit **Dashboard** to see the widget.

== Frequently Asked Questions ==

= Will it overwrite existing ALT text? =
No. It only targets images where `_wp_attachment_image_alt` is not set or empty.

= Can I change the batch size? =
Not via the UI (removed in 2.6). Developers can change the hardcoded value passed to `iwat_set_alt_text_from_titles()`.

== Screenshots ==

1. Dashboard widget highlighting missing ALT count and listing images.

== Changelog ==

= 2.6 =
* Removed batch size field from the widget UI (fixed at 500).
* Minor version bump and docs update.

= 2.5 =
* Added translation loader and admin asset enqueues.
* Minor UI polish and documentation updates.
