Can generative AI help write accessible code? – TetraLogical
February 19, 2024
Léonie Watson
asked three free Generative AI tools some typical questions about accessible code. The tools were Bard (now Gemini) from Google and ChatGPT 3.5 from OpenAI, as representatives of tools trained on general data, and Fix My Code (beta) from Userway as a tool specifically “trained in digital accessibility”.
This is not to say that you shouldn’t use generative AI tools for help writing accessible code. You just need to be smart about it when you do. Ask yourself the two questions mentioned before and act accordingly. If you have accessibility knowledge, review the code carefully and fix the issues it will likely include. If you don’t, assume the response is incorrect and incomplete and verify it using trusted sources.
Source: Can generative AI help write accessible code? – TetraLogical
My experience with generative AI, at least for developing where I use it quite a lot, is it’s not perfect, but it can be uncannily good–and it’s your experience and expertise that helps make it useful which seems to accord with Leonié’s thoughts when it comes to using generative AI to help make your code more accessible.