Accessibility debt is now AI debt and it needs your attention

(Loaded 8 times)

Vicious circle if we do not take control – missing context, alternatives and semantics harms both people and AI. And then lead to even more accessibility debt. Attention to accessibility is a requirement for AI / ML / Data Engineers as well!

I think that people who use LLMs (large language models, I will just use AI for short and refer specifically to generative AI) already see the positive and negative in them, after all these years. New roles dealing with AI must not forget about accessibility either (even when some claim otherwise).

The title can be applied to many things, but in this post I will focus on a specific one. One of most interesting use cases for me is the Retrieval-Augmented Generation (RAG), as it is very effective for providing limited, real, updated, content and context and not just letting some LLM make things up and sound confident about it. We can basically provide our custom, scoped, referenced (and verified) information in parts – chunks – and LLM is then used to retrieve the chunks that are most “similar” to what we asked for (very simplified explanation, but it is enough to let us reflect).

I wrote about shifting accessibility left in AI model training phases, but RAG can be the next best thing, so that’s also relevant.

But RAG itself is again one of the many intersections of accessibility and AI – the chunks need to have correct, independent context or else AI struggles or even fills out the gaps with information that is not true or partially true. There are many recipes for making these chunks and some even say that modern AI don’t need chunks (good luck with that), but reality is that chunks that have the “right” length and context of information still work best – as they are findable quickly, by more deterministic ways. Things will change, but for now chunks are our best friend (or foe…). How to get to them, that is another story, and for me a very important story indeed.

Chunking – breaking information into related coherent parts or ideas

For RAG to be efficient, we need the information to be broken into smaller parts, ideally ideas or standalone sections that belong tightly together. We can consider sections of information, where each section has a proper heading (with proper heading level) a suitable candidate for a chunk. Once again I simplify this, but ideally we should have chunks like this for people as well.

Preparing content for RAG is therefore basically making sure we can define proper chunking, and accessible content is way more ready for it. Otherwise we need to compensate for it which often leads to worse end results and way more inefficient use of AI (leading to lots of negative side effects).

So – when our content is already providing good “chunks” of information for people – we have a way easier job. Both for chunking and for AI to provide us with best answers:

  • Proper heading structure,
  • Sections that actually belong to the heading,
  • Images with contextual alternative text,
  • Semantically coded and simplified tables,
  • Basically everything we need to consider for accessibility…

Our accessible content benefits the chunking as well. And good chunks drastically increase retrieval and AI understanding the content.

Data is the new gold they say, but some of it is rotten

Scanned documents are often the most widespread and worst source of information – for both people and AI. But poor, missing or wrong semantics of web documents is also an issue.

Organizations stocked with mountains of relevant data have an advantage for sure. But if that data is not structured and is missing semantics – like scanned documents often do – they quickly realize their accessibility debt. Well, some of them do, some of them just blame it on the AI and throw a lot of resources at it and hope for the best. We can quickly see the intersection of accessibility and sustainability here, if we just think more about it, but I will leave this out for now.

Sure, we have the technology to convert scanned documents to digital text for decades, and often we can also get back the semantics of it. Sometimes it even works for tables and more advanced content. This increases our changes for better chunking, but it is not so simple, it takes time and it can cost a lot.

Typical problems are complex tables, some solutions still fail them often. The relationship “baked” into complex tables is often extremely valuable, but if we just let it be interpreted by AI we introduce giant risks to our data. Solutions are getting better and better, but document conversion can be a delicate thing and if conversion fails to capture the semantics and relationships we may get a partially wrong meaning from it.

The same goes for complex images and graphics in scanned documents that don’t have visible explanations around them. They are interpreted by some AI and can potentially end as a wrongly interpreted information – perhaps making a totally different point from what they originally were meant for.

So – having data is extremely valuable, having good data is crucial. For both people and AI.

Accessibility debt that was (is) generated is now making us do the work, but we need to do it with accessibility in mind – or else we generate even more debt (ans possibly even poison our data / knowledge / AI agent understanding while doing it).

To conclude – AI / ML / data engineers still need the attention to accessibility

People deciding on chunks, on data conversions, on data pipelines, extraction, conversion, cleaning of data – they also need to be aware of accessibility. Some parts can be automated without humans (please be careful), but it is crucial to understand that some parts need human verification still. Stakeholders need to understand this as well. Not just understand this, but be proactive and make sure that data fed to RAG and other AI systems is “clean”. Accessible actually means clean.

We can not just let AI automate indifferently and hope for the best. Plain text may be less problematic. AI is trained on it. But when we get from tables, images, graphics, graphs, even audio and video to text, we may quickly miss, misinterpret or even erase vital, important parts of information.

And – yes, chances are that people or AI using our RAG solution will once again be the ones to face the barriers, sometimes unknowingly.

Author: Bogdan Cerovac

I am IAAP certified Web Accessibility Specialist (from 2020) and was Google certified Mobile Web Specialist.

Work as digital agency co-owner web developer and accessibility lead.

Sole entrepreneur behind IDEA-lab Cerovac (Inclusion, Diversity, Equity and Accessibility lab) after work. Check out my Accessibility Services, I am confident I can help you improve digital accessibility of your products and services.

Also head of the expert council at Institute for Digital Accessibility A11Y.si (in Slovenian).

Living and working in Norway (🇳🇴), originally from Slovenia (🇸🇮), loves exploring the globe (🌐).

Nurturing the web from 1999, this blog from 2019.

More about me and how to contact me: