Custom Alt Text for Elementor Images
This plugin allows you to set a custom alternative text to each instance of an image widget that you add to a post or page using the Elementor Editor. You can also use the attachment alternative text (as default) or even set the alt text empty (for decorative images). Why you will love this plugin The plugin Custom Alt Text for Elementor Images is a great solution for WordPress websites whose owners want complete control over the alt text of their images. This powerful plugin adds options to the Elementor Image Widget, allowing you to set alternative text one of three ways: 1 – add custom alt text for the image instance, 2 – use the attachment alt text as set in the media library, or 3 – choose not to add alt text at all. Without this plugin you would need to upload an image into the media library each time you wanted different or custom alternative text for the image, but this plugin allows you to use the same instance of the image repeatedly, with custom alternative text for each instance. Using this plugin, you can improve the accessibility and SEO of your website’s images by choosing the appropriate text each time you add an image to the page, per guidance from the W3C. The W3C alt text decision tree, created by W3C Web Accessibility Initiative (WAI), helps you determine the appropriate alt text for your images based on their context and purpose. By using this decision tree in conjunction with Custom Alt Text for Elementor Images, you can ensure that your images are properly described and accessible to all users, as appropriate. That’s why we created this plugin. Now you will have full control over the alternative text of your Image widgets. How to use it Simply add an Image widget to your post or page using the Elementor Editor and you will find the new settings under the Link field on the Content → Image in the Elementor Panel. The Alternative Text field is set by default to “Attachment Alt Text”, that means that the image will use the default Attachment alternative text (this is the default behavior of Elementor). But now you can also set it to “None” (if your image is decorative) or “Custom” (in that case, a new field will appear where you can set your custom text).
Presswell Alt Text Generator
Presswell Alt Text Generator helps teams reduce accessibility backlog by generating descriptive alt text for new and existing images. Connect a provider, choose a model, and run generation workflows directly inside wp-admin. Features Supports OpenAI, Anthropic Claude, and Google Gemini through WordPress AI Connectors (recommended, WordPress 7.0+) or, deprecated, with API keys stored by the plugin On WordPress 7.0+, can send requests through the WordPress AI Client, so the plugin stores no key Generates alt text for individual images in the Media Library, the media modal, and the Image block Generates alt text for new uploads automatically (optional) Processes missing-alt backlogs in batches with a dedicated bulk queue Writes alt text in your site’s language Keeps the previous alt text when regenerating, so you can restore it with one click if you prefer it Handles provider rate limits and quota errors with automatic pauses Provides a customizable prompt seed for output consistency Media Library Tools An Alt Text column shows each image’s alt text, and a “Generate Alt Text” or “Regenerate Alt Text” row action updates it in place. The same button appears in the media modal and on the attachment edit screen, along with “Restore previous alt text” after a regeneration. Block Editor Select an Image block to find an Alt Text Generator panel in its sidebar. It fills in the block’s alt text and updates the image in the Media Library. Bulk Generator The Bulk page counts images missing alt text, can regenerate existing alt text or do a test run on the first five images missing it, and runs batches while surfacing progress, failures, and rate-limit pauses. Debug Tab Settings -> Alt Text Generator -> Debug shows how requests are sent and what can stop them (API key, rate limits, bulk runs, images missing alt text), a Test Connection button, and the private debug log. Connector Source WordPress AI Connectors (Settings -> Connectors, WordPress 7.0+) are the recommended setup and the default for new installs. The Plugin connector source, which stores API keys in this plugin’s settings, is deprecated and will be removed in a future release; the settings screen shows a warning while it is selected. On WordPress versions without AI Connectors, the plugin keeps using its own keys. Documentation Filters pwatg_available_services — Modify the available AI providers pwatg_available_models — Modify the available models for a provider (receives the models and the provider slug; the first model is the default; providers added with pwatg_provider_registry have no models until you list them here) pwatg_provider_registry — Map provider slugs to custom service classes (each slug is listed in the settings, with its own API key field) pwatg_generate_on_upload — Return false to skip generating alt text for a new upload (receives the attachment ID) pwatg_debug_log_max_bytes — Size at which the debug log rotates (default 5 MB) pwatg_image_max_dimension — Long edge, in pixels, of the image copy sent to the provider (default 1024, minimum 256) pwatg_alt_text_language — Language the alt text is written in (defaults to the site language; return an empty string to leave it to the model) pwatg_include_filename_in_prompt — Return false to leave the image’s filename out of the prompt (receives the attachment ID) pwatg_use_wp_ai_client — Return false to call the provider directly instead of through the WordPress AI Client in Core mode (receives the provider ID) pwatg_core_connector_service_map — Map WordPress AI Connector IDs to this plugin’s provider slugs pwatg_service_connector_candidates — Connector IDs checked for each provider’s API key pwatg_debug_log_filename — Filename of the private debug log pwatg_status_rows — Rows of the Debug tab’s status table (each an array with string label and value, and status of ok, warning, or an empty string; rows without a string label and value are dropped) pwatg_should_generate — Return false to skip an image on every path: uploads, the Media Library and Image block, bulk runs, WP-CLI, and pwatg_generate_alt_text() (receives the attachment ID and the context: upload, single, bulk, cli, or api) pwatg_prompt — The full prompt sent to the provider (receives the attachment ID, the provider slug, and the context; an empty or non-string value keeps the original) pwatg_alt_text — Generated alt text before it’s saved (receives the attachment ID, the current alt text, and the context; returning an empty string fails the generation and saves nothing) Actions pwatg_alt_text_generated — After generated alt text is saved (receives the attachment ID, the new alt text, the alt text it replaced, and the context) pwatg_generation_failed — When generation fails, not when it’s skipped (receives the attachment ID, the WP_Error, and the context) Functions pwatg_generate_alt_text( $attachment_id, $args = [] ) — Generate and save alt text for an image with the saved settings. Pass [ 'force' => true ] to replace existing alt text. Returns true when saved, false when skipped, or a WP_Error. It doesn’t check the current user’s capabilities. WP-CLI If WP-CLI is available, you can run single-image generation, bulk generation, and missing-alt counts from the command line: wp pwatg generate wp pwatg bulk-generate wp pwatg count-missing wp pwatg network-bulk-generate Optional CLI flags: wp pwatg generate --force wp pwatg bulk-generate --force — reports how many images would be overwritten; add --dry-run=false to generate wp pwatg bulk-generate --dry-run wp pwatg bulk-generate --limit= wp pwatg bulk-generate --missing-only wp pwatg network-bulk-generate --force — a dry run unless --dry-run=false is given wp pwatg network-bulk-generate --limit= wp pwatg network-bulk-generate --missing-only wp pwatg network-bulk-generate --sites= Privacy This plugin sends images to the AI provider you choose when generating alt text (OpenAI, Anthropic, or Google Gemini). Generation happens when you ask for it, and for new uploads when Generate on Upload is on. In the deprecated Plugin mode, API keys are stored in WordPress options on your site (or your network, when network-activated on Multisite) and used only for requests your server sends to that provider. External Services This plugin connects to an external AI service only when alt text is generated (on request, or for new uploads when Generate on Upload is on) or when you use Test Connection. Only the provider selected in the plugin settings is contacted. In Core mode on WordPress 7.0+, the request is sent through the WordPress AI Client using the connection set up in Settings -> Connectors. This plugin sends the following data: The API key, in the provider’s authentication header (in Core mode, the WordPress AI Client sends it) The selected model name The prompt: your prompt seed, the site language, and a short plain-text version of the image’s filename when it describes something (camera and screenshot names are left out; leave it out entirely with the pwatg_include_filename_in_prompt filter) For alt text generation: a copy of the image, resized to about 1024 pixels and converted to JPEG when the provider doesn’t accept its format or the file is over 5 MB, encoded as base64 For Test Connection: a short text prompt (“Reply with: OK”) OpenAI API Terms: https://openai.com/policies/terms-of-use Privacy: https://openai.com/policies/privacy-policy Anthropic API Terms: https://www.anthropic.com/legal/commercial-terms Privacy: https://www.anthropic.com/privacy Google Gemini API Terms: https://ai.google.dev/terms Privacy: https://policies.google.com/privacy