Context-Aware Alt Text Generation and Accessibility Auditing
An accessibility tool for content teams at news sites, universities and online shops that crawls a website, finds accessibility failures and drafts alt text using the surrounding page context, with human review before anything is published. An AI final year project where the evaluation involves real screen reader users.
Intermediate
A small team, or one strong student willing to learn something new.1 semester · 2 students
7 to ship
4 optional extrasSuggested stack
What you should ship
- A crawler that collects pages, images and each image's context: nearby heading, caption, link target and surrounding paragraph
- Automated checks for a defined subset of WCAG 2.2 criteria using axe-core, each finding mapped to its success criterion
- A classifier that separates decorative images (which need empty alt) from informative, functional and complex ones
- Alt text generation that uses the page context and the image purpose, not the image alone
- A review queue where an editor accepts, edits or rejects each suggestion, with the decision logged
- Export of approved alt text as a patch file or CMS-ready CSV, never written to the live site automatically
- An evaluation on at least 100 images comparing generated, context-free and human-written alt text, rated blind
If you have time left
- Rating sessions with blind or low vision screen reader users, with consent and fair compensation
- A WordPress plugin that sends new uploads to the review queue
- A report that prioritises findings by user impact and page traffic rather than listing everything equally
- Urdu alt text generation for bilingual sites, reviewed by a native speaker
The problem with alt text on real websites
Screen reader users depend on alt text to know what an image is doing on the page. On many sites it is missing, or it is the file name, or it is a generic description that is technically accurate and useless: "a person standing near a building". Content teams at news sites, universities and online shops know they should fix it, but auditing thousands of images by hand never gets prioritised.
Good alt text depends on purpose. The same photograph of a vice-chancellor needs a different description in a news story, on a staff profile and as a link to the leadership page. That context is exactly what most tools ignore.
What already exists and the gap
- axe-core and WAVE detect missing alt attributes and many other failures, but do not write alt text or judge whether existing text is useful.
- Siteimprove and similar platforms audit accessibility across large sites for organisations with budgets.
- Overlay products such as accessiBe promise automatic fixes, including AI-generated alt text, and are widely criticised by accessibility practitioners for inaccurate results.
- CMS features and vision models can caption images, usually from the image alone.
The gap is context-aware generation with a mandatory human review, plus honest measurement of whether the output helps screen reader users. Detecting missing alt is solved. Writing alt text that serves the image's purpose, and never publishing it unreviewed, is not.
What you build
Two roles: the editor who reviews suggestions, and the site owner who reads the audit report.
- Crawl a site within a page limit, capturing images and their DOM context.
- Run axe-core for your chosen WCAG subset.
- Classify each image's purpose: decorative, informative, functional (inside a link or button) or complex (charts, diagrams).
- Generate alt text per purpose, from the image plus its context.
- Review, edit and export.
The review step is not optional. Publishing generated descriptions unreviewed is how you make a site worse in a way nobody notices.
The technically interesting part
The hard problem is turning page context into the right kind of description. A functional image inside a link should describe the destination, not the picture. A decorative divider should get empty alt. A chart needs a summary of its point, and a longer description elsewhere. Build the purpose classifier first, then prompt per purpose using the heading, caption and paragraph, and show your supervisor side-by-side examples where context changed the output for the better.
How to evaluate it
- Blind comparison: for 100 images, raters see context-aware, context-free and human-written alt text in random order and rate usefulness in context. Automated similarity metrics are close to meaningless here; say so in your report.
- Screen reader users: if at all possible, involve blind or low vision reviewers. Their ratings outweigh everyone else's.
- Purpose classifier accuracy against hand labels, especially decorative versus informative.
- Audit accuracy: compare your WCAG findings against a manual audit of 10 pages.
- Editor time: minutes per 50 images with and without suggestions.
Suggested plan
- Weeks 1 to 2: choose the WCAG subset and three test sites (with permission or public sector sites); hand-label 100 images.
- Weeks 3 to 5: crawler, context capture, axe-core checks.
- Weeks 6 to 8: purpose classifier and context-aware generation.
- Weeks 9 to 10: review queue and export.
- Weeks 11 to 13: blind rating study and audit comparison.
- Week 14: report and demo.
Path to a product
The first customer is a university web office or a digital agency that maintains many client sites and keeps being asked for accessibility compliance. Charge per site per month for audits and the review queue, or sell it as an agency tool. Accessibility regulation is tightening in several markets, which creates demand, but the pitch must stay honest: this helps editors write better alt text faster; it does not make a site compliant on its own.
Scope warning
- Pick a subset of WCAG criteria and cover them properly. The whole specification produces a shallow checker.
- Do not build a browser overlay or inject fixes into live pages.
- Do not claim compliance. Claim findings and suggestions.
- Do not crawl sites without permission or ignore robots rules.
Learn what you need on Sefism
- Frontend roadmap : semantic HTML and the DOM your crawler reads.
- AI engineering cheat sheet : prompting vision models and structuring their output.
- axe-core : the rules engine behind your automated checks.
- How to Meet WCAG 2.2 : the success criteria your findings map to.
- Learn Accessibility : what good alt text looks like, with examples.
Get help with this idea
The strength of this project is the context-aware generation and a rating study with real users, so plan those early. Tauseef can help you pick the WCAG subset, design the blind evaluation and keep the scope away from overlay-style shortcuts. If you are new here, create a free account first.
Ideas and guidance, not finished projects
These are project ideas and scoping guidance, published free for students to use as a starting point. I do not build, write, or sell final-year projects, and I do not complete coursework for anyone. Take an idea, make it yours, and build it.
Not sure this one fits you?
I help students pick an idea that matches their skills and their deadline, then scope it down until it is finishable. Guidance only, never done for you.
Stuck on something specific?
Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.
Follow along
New writing, resources and project ideas land here first.