ai_image_alt_text
This module is part of the AI module ecosystem and included in DXPR CMS.
Generate accurate, descriptive alt text automatically using AI vision models. Improve accessibility and search rankings while maintaining editorial control through human-in-the-loop verification.
You need AI Image Alt Text if
- You manage sites with hundreds or thousands of images lacking alt text
- You need to improve accessibility compliance and SEO rankings
- Your content team struggles to write consistent, descriptive alt text
- You want to speed up content publishing while maintaining quality
Features
The AI Image Alt Text module allows you to generate alt texts for image fields using AI vision models. As it is widget-based, it incorporates a human-in-the-loop process, enabling manual generation and verification of the alt text before saving.
Additionally, the module utilizes the entity’s language (when available) to generate alt texts in the corresponding language.
SEO benefits
Generating accurate and descriptive alt texts enhances your website's accessibility and improves search engine optimization (SEO). Alt texts help search engines understand image content, which can improve your site's ranking in image search results. By using this module, you ensure high-quality, consistent alt text generation that adheres to best practices for both accessibility and SEO.
Post-installation
- Set up permissions to determine which roles can generate alt texts using AI.
- Access the settings page at /admin/config/ai/ai_image_alt_text to customize the prompt or adjust how the image is preprocessed before being sent to the AI.
- A button will then appear on image fields for generating alt texts.
Prefer a turnkey demo site?
Spin up DXPR CMS—Drupal pre-configured with DXPR Builder, DXPR Theme, AI Image Alt Text module, and security best practices.
Additional requirements
This module uses the AI module as its foundation. It supports any vision model available through providers like OpenAI, Anthropic, and Fireworks AI.
Similar projects
The Automatic Alternative Text module offers similar functionality by leveraging Azure Computer Vision to generate alt texts when an entity is saved.