Can I use AI to remediate documents or webpages?
Today, an AI model typically can't fix the accessibility of a webpage or document by itself. Human review and testing are always needed. There are several reasons for this.
Many AI models are trained on data from the web, and most of the web is inaccessible. For more information on this, review The WebAIM Million study testing the top 1,000,000 pages on the web. While AI can write code, it often produces code different from standards a developer would use. This can also cause accessibility issues.
The Web Content Accessibility Guidelines (WCAG) provide criteria and techniques for web development, but not specific techniques for documents. Document accessibility guidance is inferred from the web guidance in WCAG. If an AI tool references WCAG to make a document accessible, it is not going to get all the information it needs. You can ask an AI tool to fix a PDF using WCAG, and it will confidently tell you it has done so. However, there will still be errors.
There are some tasks that an AI does not understand how to perform. An AI can add alt text to an image, but not an appropriate explanation. For example, an image of The Doric Hall in the Massachusetts State House might get an alt text description of "A room with columns and a statue." This is technically accurate. However, it does not help screen reader users understand the picture.
When using AI or other automated "accessibility fixers," always include a human review. That will identify issues that AI missed or could not address.