Custom Alt Text for Elementor

Description

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.

Installation

Automatic Installation

  1. Go to your WordPress admin dashboard
  2. Navigate to Plugins > Add New
  3. Search for “Custom Alt Text for Elementor”
  4. Click Install Now and then Activate

Manual Installation

  1. Download the plugin zip file
  2. Go to Plugins > Add New > Upload Plugin
  3. Choose the zip file and click Install Now
  4. Click Activate Plugin

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • Elementor 3.0.0 or higher

FAQ

Does this work with Elementor Pro?

Yes! The plugin works with both free Elementor and Elementor Pro.

Can I use dynamic tags in the custom alt text?

Absolutely! The plugin fully supports Elementor’s dynamic tags system. Click the dynamic icon next to the custom alt text field to choose from available dynamic tags.

Does this work with ACF (Advanced Custom Fields)?

Yes, if you have ACF installed, you can use ACF dynamic tags in your custom alt text.

Will this override the WordPress media library alt text?

Only when you enable the “Use Custom Alt Text” toggle. If disabled, it will use the default WordPress alt text.

Can I use shortcodes in the alt text?

Yes! The plugin processes WordPress shortcodes, so you can use any shortcode that returns text content.

Does this affect my site’s performance?

No, the plugin is very lightweight and only processes the alt text when the specific widgets are rendered.

Is this plugin GDPR compliant?

Yes, the plugin doesn’t collect or store any personal data. It only processes the content you enter in the Elementor widgets.

Can I use HTML in the custom alt text?

HTML tags are automatically stripped from alt text for security and accessibility reasons. Alt text should be plain text only.

Does this work with other page builders?

This plugin is specifically designed for Elementor and won’t work with other page builders.

How do I report bugs or request features?

Please use the WordPress.org support forum for this plugin, or contact us through our website.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Custom Alt Text for Elementor” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release
  • Custom alt text field for Image and Image Box widgets
  • Dynamic tags support
  • Shortcode support
  • Toggle control for enabling/disabling custom alt text
  • Proper sanitization and security measures
  • WordPress coding standards compliance