=== Alt Text Pro === Contributors: aamirfaiz Tags: accessibility, alt-text, seo, ai, images Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.4.21 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Automatically generate professional alt-text for your images using AI. Improve accessibility and SEO with our powerful SaaS integration. == Description == **Alt Text Pro** is a powerful WordPress plugin that automatically generates high-quality alt-text for your images using advanced AI technology. Improve your website's accessibility, SEO, and user experience with professionally written alt-text descriptions. ### 🚀 Key Features * **AI-Powered Generation**: Uses Google Gemini AI to create accurate, descriptive alt-text * **Automatic Processing**: Generate alt-text automatically when uploading images * **Bulk Processing**: Process hundreds of existing images at once * **Context-Aware**: Provides better descriptions using page context and metadata * **Beautiful Dashboard**: Modern, intuitive admin interface * **Usage Tracking**: Monitor your API usage and credit consumption * **SEO Optimization**: Improve search engine rankings with better image descriptions * **Accessibility Compliance**: Meet WCAG guidelines for screen reader compatibility ### 💡 How It Works 1. **Connect Your Account**: Get your API key from Alt Text Pro dashboard 2. **Configure Settings**: Set up automatic generation and preferences 3. **Generate Alt-Text**: Process images individually or in bulk 4. **Review & Edit**: Fine-tune generated descriptions as needed ### 🎯 Perfect For * **Content Creators**: Bloggers, journalists, and content marketers * **E-commerce Sites**: Product catalogs and online stores * **Agencies**: Web developers and digital marketing agencies * **Accessibility Advocates**: Organizations focused on inclusive design * **SEO Professionals**: Improving search engine optimization ### 📊 Pricing Plans * **Free Trial**: 30 credits to get started * **Starter Plan**: 500 credits/month for small sites * **Pro Plan**: 2000 credits/month for busy sites * **Pay-as-you-go**: $3 for 50 credits when you need more Each alt-text generation uses 1 credit. ### 🔧 Technical Requirements * WordPress 5.0 or higher * PHP 7.4 or higher * Active internet connection for API calls * Alt Text Pro account (free signup available) ### 🌟 Why Choose Alt Text Pro? * **Accuracy**: Advanced AI trained specifically for alt-text generation * **Speed**: Process hundreds of images in minutes * **Quality**: Human-like descriptions that make sense * **Integration**: Seamless WordPress integration * **Support**: Dedicated customer support team * **Privacy**: Your images are processed securely and not stored == Installation == ### Automatic Installation 1. Go to your WordPress admin dashboard 2. Navigate to Plugins → Add New 3. Search for "Alt Text Pro" 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. Activate the plugin ### Setup 1. Go to Alt Text Pro → Settings in your WordPress admin 2. Sign up for a free account at [Alt Text Pro](https://www.alt-text.pro) 3. Copy your API key from the dashboard 4. Paste it into the plugin settings and save 5. Test the connection to ensure everything works 6. Start generating alt-text for your images! == Frequently Asked Questions == = Do I need an Alt Text Pro account? = Yes, you need a free Alt Text Pro account to use this plugin. You can sign up at https://www.alt-text.pro and get 100 free credits to start. = How accurate is the AI-generated alt-text? = Our AI is trained specifically for alt-text generation and provides highly accurate descriptions. However, we always recommend reviewing and editing the generated text to ensure it fits your specific context perfectly. = Can I edit the generated alt-text? = Absolutely! The plugin generates alt-text as a starting point. You can always edit, refine, or completely rewrite the descriptions to match your needs. = What happens if I run out of credits? = If you run out of credits, the plugin will stop generating new alt-text. You can purchase more credits or upgrade your plan from your Alt Text Pro dashboard. = Does this work with existing images? = Yes! The plugin includes a powerful bulk processing feature that can generate alt-text for all your existing images that don't have alt-text yet. = Is my data secure? = Yes, we take security seriously. Images are processed securely via encrypted connections and are not stored on our servers after processing. = Can I use this for e-commerce products? = Definitely! The plugin works great for product images. You can even provide context like "product photo" to get more relevant descriptions. = Does this help with SEO? = Yes! Proper alt-text improves your SEO by helping search engines understand your images, which can improve your rankings in image search results. = What image formats are supported? = The plugin supports all standard web image formats including JPEG, PNG, GIF, and WebP. = Can I cancel my subscription anytime? = Yes, you can cancel your subscription at any time from your Alt Text Pro dashboard. You'll continue to have access until the end of your billing period. == Screenshots == 1. **Dashboard Overview** - Beautiful admin dashboard showing usage stats and quick actions 2. **Settings Page** - Easy-to-use settings interface with API key configuration 3. **Bulk Processing** - Process hundreds of images at once with progress tracking 4. **Media Library Integration** - Generate alt-text directly from the media library 5. **Usage Logs** - Track all your alt-text generations with detailed logs 6. **Mobile Responsive** - Fully responsive design works on all devices == Changelog == = 1.4.21 = * Fixed code analysis warnings for discouraged functions and syntax = 1.4.20 = * Temporarily hid context input field from media sidebar = 1.4.19 = * Fixed issue where context was not being sent to the API during generation * Improved JavaScript selectors for better compatibility with different admin views = 1.4.18 = * Fixed missing context input field in media edit sidebar = 1.4.17 = * Fixed bulk process progress counters showing incorrect numbers after completion * Ensured processed count and successful count match final results = 1.4.16 = * Fixed bulk process completion status bug where status was overwritten with "running" * Ensured success notification appears correctly after bulk processing completes = 1.4.15 = * Fixed status badge stuck on "Processing..." after completion * Fixed completion detection - now properly stops polling and shows completion * Added comprehensive console logging for debugging completion flow * Improved status update logic to prevent overriding completed status * Enhanced notification display to ensure it's visible = 1.4.14 = * Fixed success notification not appearing after bulk process completion * Fixed cancel button visibility - now properly hidden when process hasn't started * Improved notification display with better selector and visibility handling * Enhanced cancel button show/hide logic with proper !important styles = 1.4.13 = * Fixed JavaScript syntax error that was preventing script from loading * Removed problematic button cloning that caused DOM issues * Simplified event handler attachment for better reliability * Fixed typeof checks in event handlers = 1.4.12 = * Fixed "Start Processing" button - removed button cloning that was breaking event handlers * Added dual event handlers (jQuery + native DOM) for maximum compatibility * Enhanced form submission prevention with capture phase listeners * Improved event handler binding to ensure button works reliably = 1.4.11 = * Fixed "Start Processing" button click handler - improved event binding and prevention * Added immediate DOM event handlers to prevent form submission before jQuery loads * Enhanced event handler cleanup to prevent duplicate bindings * Added comprehensive console logging for debugging = 1.4.10 = * Fixed "Start Processing" button not working - added form submission prevention * Fixed Cancel button showing when process hasn't started - now properly hidden * Added validation to prevent double-clicking start button * Added console logging for debugging bulk process issues = 1.4.9 = * Fixed bulk process status badge not updating to "Completed" when process finishes * Added completion notification popup showing process results and error details * Improved status polling to stop immediately when process completes * Enhanced error reporting in completion notification = 1.4.8 = * Updated "Generate Alt-Text" button icon to show "SEO+" text instead of image icon * Improved button visual design for better relevance = 1.4.7 = * Fixed automatic alt-text generation appearing on image edit page * Loading state now only appears when user clicks "Generate Alt-Text" button * Automatic generation only occurs per plugin settings (on upload) or bulk process = 1.4.6 = * Fixed escaping of all variables when echoed * Added wp_kses_post() for HTML output from get_media_field_html() * Ensured all output follows WordPress escaping best practices = 1.4.5 = * Fixed text domain to match plugin slug (alt-text-pro) * Added load_plugin_textdomain() for proper translation loading * Ensured all 250+ translation functions use correct text domain = 1.4.4 = * Fixed JavaScript and CSS enqueuing to use WordPress built-in functions * Moved all inline scripts to wp_add_inline_script() for proper WordPress compliance * Removed inline script tags from template files = 1.4.3 = * Fixed Contributors field to include correct WordPress.org username = 1.4.2 = * Version update = 1.4.1 = * Current version - Renamed plugin slug and folder to match Text Domain * UI overhaul with modern design * Improved navigation and dashboard layout * Enhanced user experience for settings and logs * Added real-time completion notifications for bulk processing * Added immediate credit exhaustion alerts during processing * Improved error notifications with visual feedback * Enhanced status updates during bulk processing * Fixed notification display for all completion statuses * Fixed critical bug: Processing now stops immediately when credits are exhausted * Fixed dashboard credit calculation - now correctly displays credits used vs total * Improved error messages when credits run out during bulk processing * Added proper handling for credit exhaustion across all subscription plans * Fixed edge cases in credit display (negative values, exceeding totals) * Fixed processing options - "Process images missing alt-text", "Process all images", and "Process selected images" now work correctly * Fixed overwrite existing alt-text checkbox logic * Improved batch size handling * Better separation of process type and overwrite settings * Fixed successful count tracking in bulk processing * Improved progress tracking accuracy across batches * Enhanced data persistence for bulk process status * Added automatic verification of successful count vs actual processed images * Better error handling and debug logging for bulk operations * Fixed API endpoint from auth/validate to auth-validate * Enhanced debug logging to show exact URLs * Better error handling for 404 responses * AI-powered alt-text generation using Google Gemini * Automatic processing on image upload * Bulk processing for existing images * Beautiful admin dashboard * Usage tracking and logs * Context-aware generation * Media library integration * Mobile-responsive design * Comprehensive settings panel == Upgrade Notice == = 1.4.1 = This is the current version of Alt Text Pro. Install now to start improving your website's accessibility and SEO with AI-generated alt-text! == Support == Need help? We're here for you! * **Documentation**: Visit our [knowledge base](https://www.alt-text.pro/docs) * **Support**: Contact us at [support](https://www.alt-text.pro/support) * **Feature Requests**: We love hearing your ideas! == Privacy Policy == Alt Text Pro is committed to protecting your privacy: * Images are processed securely via encrypted HTTPS connections * Images are not stored on our servers after processing * Only necessary metadata is logged for service improvement * We comply with GDPR and other privacy regulations * You can delete your account and data at any time For full details, see our [Privacy Policy](https://www.alt-text.pro/privacy). == About Alt Text Pro == Alt Text Pro is dedicated to making the web more accessible for everyone. Our mission is to provide powerful, easy-to-use tools that help website owners create better alt-text descriptions for their images. Founded by accessibility advocates and AI experts, we understand the importance of inclusive design and the challenges of creating quality alt-text at scale. Our solution combines cutting-edge AI technology with human insight to deliver the best possible results. Join thousands of websites already using Alt Text Pro to improve their accessibility and SEO! **Get started today**: [Sign up for free](https://www.alt-text.pro) and get 100 credits to try Alt Text Pro risk-free.