Alt Text Warning is a Publii plugin that catches images with missing or empty alt text.
In preview mode it outlines each offending image in red with a "Missing alt text" label so you can fix it before publishing.
When building the actual site it fills in fallback alt text from a configurable pattern, so pages never have empty alt attributes.
- Outlines images with missing/empty alt text in preview, with a warning label
- Auto-generates fallback alt text in production builds from a pattern
Publii 0.43.0 or newer.
- Download the release ZIP.
- Publii -> Tools -> Plugins -> Install plugin -> pick the ZIP.
- Enable the plugin for the site.
Open Plugins -> Alt Text Warning -> settings icon.
Set the Fallback alt text pattern (default {title} image), and Apply to to use it on posts, pages, or both.
Preview the site to see missing-alt images flagged in red.
Feel free to fork this project or contribute a PR. Build instructions can be found in the developer readme DEV.md.
This project is licensed under the GPLv3+. See LICENSE file for details.
None, the plugin is self-contained plain JavaScript with no dependencies.
This project was developed by InPoint Automation Sp. z o.o. https://inpointautomation.com/
Thanks to the Publii project for the CMS and plugin API.
See CHANGELOG.md for the full version history.
