Skip to main content

AI Auto-Fix

How WP Comply Pro uses AI to generate alt text and fix accessibility issues automatically.

Overview

WP Comply Pro uses AI to automatically fix certain accessibility issues. The primary AI-powered feature is alt text generation — using computer vision to create accurate, contextual descriptions of images.

Setup

OpenAI API Key

AI features require your own OpenAI API key:

  1. Go to platform.openai.com and create an account
  2. Navigate to API Keys and create a new key
  3. In WordPress, go to WP Comply → Settings → AI
  4. Paste your API key and click Save

API costs

WP Comply uses GPT-4o for image analysis. Typical costs:

  • Small site (50-100 images): $2-5 one-time, then pennies for new images
  • Medium site (500-1,000 images): $10-20 one-time
  • Large site (5,000+ images): $50-100 one-time

After the initial batch, costs are minimal — only new or changed images are processed.

AI alt text generation

How it works

  1. WP Comply identifies images missing alt text (from scan results)
  2. Each image is sent to the OpenAI Vision API
  3. The AI analyzes the image and generates a description
  4. The alt text is saved to the WordPress media library
  5. All pages using that image automatically display the new alt text

Language support

Alt text is generated in the language of your WordPress installation. If your site is in German, alt text will be generated in German.

Quality and review

AI-generated alt text is marked with a [AI] flag in the media library. We recommend reviewing generated text, especially for:

  • Images with text content (charts, infographics)
  • Images with specific people (the AI won’t identify individuals)
  • Context-dependent images where the surrounding content matters

Batch processing

To generate alt text for all images at once:

  1. Go to WP Comply → AI Auto-Fix
  2. Click Generate All Missing Alt Text
  3. Progress is shown in real-time
  4. You can pause and resume at any time

Other AI fixes

The AI system also assists with:

  • Heading suggestions: When heading hierarchy is broken, the AI suggests the correct heading level based on content context
  • Form label text: For unlabeled inputs, the AI suggests label text based on the input’s context and surrounding content