Automatic Alternative Text makes accessible images easy and fast by automatically generating alt text for images with
Microsoft's Cognitive Services Computer Vision API.
The Computer Vision API’s algorithms analyze the content found in an image and generates complete sentences of human readable language describing what is found in the image. The Automatic Alternative Text plugin gets this description and adds it as the alt text for each image uploaded while the plugin is active.
The two methods of installing the plugin are:
- Search for "Automatic Alternative Text" in Plugins > Add New and click the Install button.
- Unzip the archive and put the
automatic-alt-text
folder into your site's /wp-content/plugins/
folder.
Then activate Automatic Alt Text from the Plugins menu.
Usage
Before the plugin will work you need to supply an API key and endpoint for Microsoft's Cognitive Services Computer Vision API. You can learn how to sign up for a free key
here. Go to the Settings > Media page to enter the key and endpoint from Microsoft.
Once your key and endpoint are entered any image you upload from that point forward will automatically have its alt text set to a caption supplied by Microsoft's Cognitive Services where possible.