- Ain't nobody got time for that.
- It does not exactly work in a very user friendly way, because when you do have time for it, you either:
- Update the alt text on image placing, overriding the default preventing alt text reuse.
- Update it in Media Library and it does not get propagated through half the places.
Here comes AltSync, brother of AltGen
AltSync is a WordPress plugin that synchronizes (freshly updated) media library alt text into posts, replacing empty or stale alt attributes. It works in tandem with the AltGen browser extension to create a powerful accessibility workflow.
- AltGen
- AI-assisted browser extension that helps generate high-quality alt text for images
- It can update alt text of user selected image in Wordpress Media Library
- It can call AltSync API to propagate alt text changes from Media Library to posts.
- AltSync: This WordPress plugin - it ensures the fresh updated alt text in Media Library are applied everywhere the image is used
This combination creates a seamless workflow for maintaining accessibility standards across your WordPress site.
- Bulk Synchronization: Update alt text across multiple images at once
- Smart Sync Modes:
- "Empty" mode (safer): only updates images with empty alt text
- "All" mode: replaces all instances of alt text for selected images
- Preview Before Committing: Dry run feature to see potential changes before applying
- API Integration: REST endpoints for external applications like AltGen
- Status Check: Public endpoint to verify plugin availability
- Upload the
AltSyncfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to Media → Bulk Alt Sync to update multiple images at once
Navigate to Media → Bulk Alt Sync in the WordPress admin where you can:
- Select all images to sync (not thoroughly tested, dangerous and slow, make sure to have DB backup!)
- Select multiple images to sync (great for semi-automated HITL workflows)
- Choose between updating only empty alt text or all instances (honor your overrides.. or don't!)
- Preview changes before committing (not very detailed)
Automated Sync with AltGen
For the best experience, use AltSync together with the AltGen browser extension:
- Install the AltGen browser extension (available for
Chrome/Firefox) - Configure AltGen to connect to your WordPress site
- Use AltGen to generate AI-assisted alt text for your images
- AltGen will automatically call AltSync's API to propagate the alt text changes
AltSync provides two REST API endpoints (used by guess what - ... AltGen):
GET /wp-json/AltSync/v1/status
- Publicly accessible
- Checks if the plugin is active and ready to use
- No authentication required
POST /wp-json/AltSync/v1/sync-image
- Requires WordPress application password authentication
- Parameters:
attachment_id: The ID of the image to updatesync_mode: Either 'empty' (safer) or 'all' (replace all alt texts of this image site-wide)
For detailed API documentation, see docs/api-usage-example.md.
By default, no. AltSync operates in "safer" mode that only updates images where the alt text is currently empty (alt="").
However, there is also an "update all" mode that will replace ALL alt text for the selected images with the version from the media library, regardless of what was previously set in posts.
Yes, it works by modifying the saved post content, so it's compatible with both the Classic Editor and the Block Editor.
Actually maybe not, it seems Elementor handles updating / propagating ALT text rather good without even needing to resave anything a simple reload / cache bust seems to do it in my env. However you may still greatly benefit from HITL AltGen browser extension to improve accessibility and SEO workflow.
Yes, especially when using the "Update ALL alt text" mode, which can make widespread changes to your content. Always backup your database before performing bulk operations.
- Added status check endpoint at
/wp-json/AltSync/v1/statusfor external applications - Updated API documentation with comprehensive examples
- Added REST API endpoint for external applications like AltGen
- API supports both empty alt text and full replacement sync modes
- Authentication via WordPress application passwords
- Added new sync mode to replace ALL alt text (not just empty ones)
- Added stronger warnings and confirmations for destructive operations
- Removed individual image sync button to focus on bulk synchronization
- Added bulk synchronization feature
- Added dry run preview option
- Improved image detection in posts
- Initial plugin structure
Tomáš "Thebys" Biheler