{"id":1401,"date":"2024-10-10T11:29:25","date_gmt":"2024-10-10T11:29:25","guid":{"rendered":"https:\/\/html5accessibility.com\/stuff\/?p=1401"},"modified":"2024-10-10T14:26:54","modified_gmt":"2024-10-10T14:26:54","slug":"ai-for-accessibility-conformance-testing-why","status":"publish","type":"post","link":"https:\/\/html5accessibility.com\/stuff\/2024\/10\/10\/ai-for-accessibility-conformance-testing-why\/","title":{"rendered":"AI for accessibility conformance testing? Why?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1402 size-large\" src=\"https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-10-114806-1024x523.jpg\" alt=\"A surreal image of people wearing knitted full-body masks, with text overlays reading &quot;For accessibility testing&quot; and &quot;For accessibility code remediation.&quot; each is marked with a large red X, suggesting disapproval. The word &quot;AI&quot; appears in the upper left, indicating the role of artificial intelligence in accessibility testing\/remediation.\" width=\"580\" height=\"296\" srcset=\"https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-10-114806-1024x523.jpg 1024w, https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-10-114806-300x153.jpg 300w, https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-10-114806-768x392.jpg 768w, https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-10-114806.jpg 1057w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/p>\n<p>I have noticed a number of people are advocating the use of AI\/LLMs (Large Language Models) for accessibility testing and\/or code remediation.<\/p>\n<h2>My onging question is why?<\/h2>\n<p>My personal experience with ChatGPT, for example is that it <em>suck<\/em>s at these tasks. Or it may well be that <strong>I suck<\/strong> at using AI to elicit useful\/trustworthy results or safe accessible code. What tricks, prompt engineering skills am I missing?<\/p>\n<h2>an aside<\/h2>\n<p>One accessibility corp. that provided an AI powered &#8220;fix my code&#8221; site. Have taken it down, probably because it <em>sucked<\/em>. But are still peddling AI code remediation as <a href=\"https:\/\/userway.org\/fixmycode\/\">a solution<\/a><\/p>\n<h3>An other aside<\/h3>\n<p>One of the uses of AI that I do find worthwhile is the generation of <strong>initial drafts<\/strong> of alt text for my article images, for example I asked chatGPT to describe the image in this article. The output:<\/p>\n<pre>A surreal image of people wearing knitted full-body masks, \r\nwith text overlays reading \"For accessibility testing\" and \r\n\"For accessibility code remediation.\" \r\nTwo figures on the right are marked with large red Xs, \r\nsuggesting disapproval. The word \"AI\" appears in the upper \r\nleft, indicating the role of artificial intelligence in \r\naccessibility.<\/pre>\n<p>Which is not a bad start, but it&#8217;s easy to not notice the inaccuracies, which I did not in the first instance &#8220;Two figures on the right are marked with large red Xs, suggesting disapproval.&#8221; This part of the alt is incorrect as the X&#8217;s pertain to the text &#8220;For accessibility testing X&#8221; and &#8220;For accessibility code remediation. X&#8221; they are not placed where they are to obscure anything.<\/p>\n<p>After realising the mistake I updated the text to make it more accurate. note I also clarified the subject of the slide &#8220;indicating the role of artificial intelligence in accessibility testing\/remediation&#8221;<\/p>\n<pre>A surreal image of people wearing knitted full-body masks, with \r\ntext overlays reading \"For accessibility testing\" and \r\n\"For accessibility code remediation.\" each is marked with a large\r\nred X, suggesting disapproval. The word \"AI\" appears in the upper \r\nleft, indicating the role of artificial intelligence in \r\naccessibility testing\/remediation.<\/pre>\n<h2>Further reading<\/h2>\n<ul>\n<li><a href=\"https:\/\/adrianroselli.com\/2023\/06\/no-ai-will-not-fix-accessibility.html\">No, \u2018AI\u2019 Will Not Fix Accessibility<\/a> by <em>Adrain<\/em><\/li>\n<li><a href=\"https:\/\/html5accessibility.com\/stuff\/2024\/10\/07\/57-30\/\">57\/30<\/a><\/li>\n<li><a href=\"https:\/\/yatil.net\/blog\/ai-wont-solve-accessibility\">\u201cAI\u201d won\u2019t solve accessibility<\/a> by <em>Eric<\/em><\/li>\n<\/ul>\n<h2 class=\"style-scope ytd-watch-metadata\">SLEAFORD MODS i&#8217;m shit at it (edit)<\/h2>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/Z6xWJ9bpUTs?si=yN0fUXpbh0wVhP69\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have noticed a number of people are advocating the use of AI\/LLMs (Large Language Models) for accessibility testing and\/or code remediation. My onging question is why? My personal experience with ChatGPT, for example is that it sucks at these tasks. Or it may well be that I suck at using AI to elicit useful\/trustworthy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1401","post","type-post","status-publish","format-standard","hentry","category-htmlaccessibility"],"_links":{"self":[{"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/posts\/1401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/comments?post=1401"}],"version-history":[{"count":6,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/posts\/1401\/revisions"}],"predecessor-version":[{"id":1408,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/posts\/1401\/revisions\/1408"}],"wp:attachment":[{"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/media?parent=1401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/categories?post=1401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/tags?post=1401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}