=== Auto Alt Images ===
Contributors: Neil Williams
Tags: accessibility, seo, images, alt text, a11y
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically fills in missing alt attributes for images using the post title or filename.

== Description ==

Images without alt text are a problem for accessibility (screen readers) and SEO.  
This lightweight plugin automatically adds alt attributes where they are missing:

* Inside post content → uses the current post title.  
* For images loaded via `wp_get_attachment_image()` → uses the image filename (without extension).  

If an image already has alt text, the plugin leaves it untouched.

No settings, no configuration — just activate and your site is more accessible.

== Features ==

* Improves accessibility by ensuring images have alt text.  
* Helps SEO by filling in descriptive alt attributes.  
* Post/page content images get the post title.  
* Template images (e.g. theme calls) get the filename.  
* Super lightweight and fast.  

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install via Plugins > Add New.  
2. Activate the plugin through the ‘Plugins’ menu in WordPress.  
3. That’s it — missing alt attributes will now be auto-filled.  

== Frequently Asked Questions ==

= Will this overwrite existing alt text? =  
No. If your image already has alt text, the plugin does nothing.  

= Can I choose what text gets used? =  
In version 1.0, no — it’s automatic. A future version may allow you to pick fallback options (post title, filename, site title, custom text).  

= Does this change my database? =  
No. The plugin only filters the output before rendering. It does not update the actual media library fields.  

== Screenshots ==

1. Example: images in a post without alt get the post title automatically.  

== Changelog ==

= 1.0.0 =
* Initial release.  

== Upgrade Notice ==

= 1.0.0 =
First release — automatically fills in missing alt text.
