Home Plugins custom alt text for elementor
Custom Alt Text for Elementor logo

Custom Alt Text for Elementor

by Md Mahfuz Alam on WordPress.org

Extends Elementor Image and Image Box widgets with custom alt text fields that support dynamic tags and shortcodes for better accessibility and SEO.

(0)

Custom Alt Text for Elementor enhances your website’s accessibility and SEO by giving you complete control over image alt text in Elementor widgets. Instead of relying on WordPress media library alt text, you can now set custom alt text directly within your Elementor widgets.

🚀 Key Features

  • Custom Alt Text Fields – Add custom alt text to Image and Image Box widgets
  • Dynamic Tags Support – Use Elementor’s dynamic tags system for automatic content
  • Shortcode Support – Process WordPress shortcodes within alt text
  • Override Default Alt Text – Replace WordPress media alt text with your custom text
  • Easy Toggle Control – Simple on/off switch to enable custom alt text
  • Clean & Sanitized Output – Properly escaped and cleaned alt text for security
  • Multi-Widget Support – Works with both Image and Image Box widgets

🎯 Perfect For

  • SEO Optimization – Create keyword-rich, contextual alt text
  • Accessibility Compliance – Meet WCAG guidelines with descriptive alt text
  • Dynamic Content – Use post titles, custom fields, or other dynamic content
  • Multilingual Sites – Different alt text for different languages
  • Content Marketing – Optimize images for search engines

💡 How It Works

  1. Install and activate the plugin
  2. Edit any Elementor Image or Image Box widget
  3. Find the new “Custom Alt Text” field in the image section
  4. Enable “Use Custom Alt Text” toggle
  5. Enter your custom alt text (supports dynamic tags and shortcodes)
  6. Save and enjoy better accessibility and SEO!

🔧 Dynamic Tags Examples

  • {post_title} – Use the current post title
  • {site_title} – Use your site title
  • Custom fields and ACF fields (if ACF is installed)
  • Any other dynamic tag available in your Elementor installation

🛠 Shortcode Examples

  • [meta key="your_custom_field"] – Display custom field content
  • [post_meta key="image_description"] – Use post meta as alt text
  • Any WordPress shortcode that returns text content

🎨 Supported Widgets

  • Image Widget – Elementor’s standard image widget
  • Image Box Widget – Elementor’s image box widget with title and description

🌟 Why Choose This Plugin?

  • Lightweight – Minimal code, maximum performance
  • Developer Friendly – Clean, well-documented code
  • WordPress Standards – Follows WordPress coding standards
  • Security First – Properly sanitized and escaped output
  • Future Proof – Compatible with latest Elementor versions

Support

Need help? Please visit our support forum or contact us on GitHub.

Contributing

This plugin is open source. Contribute on GitHub.

Privacy Policy

This plugin does not collect, store, or share any personal data. It only processes the content you enter in Elementor widgets on your own website.

Active installations0+
Weekly downloads
17
Version1.0.0
Last updated9/27/2025
WordPress version6.0
Tested up to6.8.2
PHP version7.4
Tags
Alt Textelementorimage boximagesseo
Custom Alt Text for Elementor | Plugin0