What Is Web Accessibility? WCAG and Inclusive Design Explained
Web accessibility means people with disabilities can use your site. What WCAG 2.2 asks for, common failures in AI-built apps, and what to ask your AI builder.
Mythex Team · · 6 min read
Web accessibility means building websites and apps so that people with disabilities can use them — whether they're blind and use a screen reader, can't use a mouse, have low vision or colour blindness, are deaf, or have cognitive or learning disabilities. In practice it comes down to things like text alternatives for images, enough colour contrast, forms with proper labels, and everything working with a keyboard alone. The international standard for it is WCAG, the Web Content Accessibility Guidelines from the W3C.
Accessibility is often shortened to a11y — "a," then 11 letters, then "y."
Why accessibility matters when you build with AI
AI builders are good at producing apps that look right. Accessibility is mostly about what you can't see in a screenshot: whether a button is really a button, whether an input has a label a screen reader can announce, whether you can reach the menu with the Tab key.
That's why it matters to ask:
- It's easy to miss. A custom-styled dropdown can look perfect and be impossible to use without a mouse. You won't notice unless you test for it.
- It's cheaper to get right early. Asking for accessible components from the first prompt costs almost nothing. Retrofitting a finished app means touching every screen.
- It helps everyone. Captions help people in noisy places, good contrast helps people on phones in sunlight, and clear labels help everyone fill in forms faster.
- It overlaps with SEO. Proper headings, descriptive links and alt text help search engines understand your pages too — see SEO for AI-built websites.
- It may be required. Depending on where you operate and who you serve, accessibility can be a legal obligation.
An everyday analogy
Think of the entrance to a building.
Steps work fine for many people. A ramp works for wheelchair users — and also for parents with prams, delivery workers with trolleys and travellers with suitcases. Automatic doors, clear signs, braille on lift buttons and good lighting each remove a barrier for someone.
Web accessibility is the same idea for digital spaces: the ramps, signs and handrails of your app. And just like a building, it's far easier to include a ramp in the plans than to add one after the concrete sets.
WCAG in a nutshell
WCAG is published by the W3C's Web Accessibility Initiative. The current version is WCAG 2.2, first published in October 2023. It's backwards compatible: content that meets WCAG 2.2 also meets 2.1 and 2.0, and the W3C encourages using the latest version. WCAG 2.2 is also approved as an international standard, ISO/IEC 40500:2025. A very different WCAG 3 is in development as an early draft, not a finished standard.
WCAG is organised under four principles, often remembered as POUR:
| Principle | Meaning | Examples |
|---|---|---|
| Perceivable | People can take in the content with the senses they use | Alt text for images, captions for video, sufficient contrast |
| Operable | People can use the controls and navigate | Keyboard access, no time limits that can't be extended, visible focus |
| Understandable | Content and behaviour make sense | Clear labels, helpful error messages, consistent navigation |
| Robust | Works with a range of browsers and assistive technologies | Proper HTML elements, correct names and roles for controls |
Each guideline has testable success criteria at three levels:
- Level A — the minimum. Failing these blocks some people completely.
- Level AA — the standard target, and the level most laws and policies point to.
- Level AAA — the highest level. Useful to aim for in places, but the W3C doesn't recommend requiring it for entire sites, as some content can't meet it.
WCAG 2.2 added nine success criteria to 2.1, including Target Size (Minimum) at level AA — clickable targets should generally be at least 24 by 24 CSS pixels, with exceptions — and Accessible Authentication (Minimum), which limits login steps that rely on memory or puzzles, such as having to retype a password without being allowed to paste it. It also removed the old "Parsing" criterion as obsolete.
A worked example: a sign-up form
Here's a sign-up form an AI might produce, and what an accessibility check finds:
| Problem | Who it affects | Fix |
|---|---|---|
| Inputs use placeholder text ("Email") instead of labels | Screen reader users; anyone who forgets what the field was once they start typing | A visible <label> connected to each input |
| Light grey text on white, well under 4.5:1 contrast | People with low vision, anyone outdoors | Darker text that meets the 4.5:1 contrast ratio |
| Errors shown only as a red border | Colour-blind users, screen reader users | A text message next to the field, announced to screen readers |
"Sign up" is a styled <div>, not a <button> | Keyboard and screen reader users can't activate it | Use a real <button> element |
| No visible outline when tabbing through fields | Keyboard users lose track of where they are | A clear focus style |
| The logo image has no alt text | Screen reader users hear a filename | Alt text like "Acme Bookings" |
None of these fixes changes how the form looks much. All of them change whether some people can use it at all.
Key terms
| Term | Meaning |
|---|---|
| Screen reader | Software that reads the screen aloud or to a braille display, such as VoiceOver, NVDA or JAWS. |
| Alt text | A text description of an image, read by screen readers. Decorative images get empty alt text so they're skipped. |
| Contrast ratio | How different text and background colours are, from 1:1 to 21:1. |
| Keyboard navigation | Using a site with Tab, Enter, Space and arrow keys instead of a mouse. |
| Focus indicator | The visible outline showing which element the keyboard is on. |
| Semantic HTML | Using the right element for the job — <button>, <nav>, <h2> — so browsers and assistive tech understand the page. |
| ARIA | Extra attributes that describe custom controls to assistive technology. Best used sparingly; native HTML elements come first. |
| Assistive technology | Tools people use to access computers, from screen readers to switch devices and voice control. |
Common misconceptions
- "Accessibility only matters for blind users." It covers visual, motor, hearing, speech and cognitive disabilities, plus temporary situations like a broken arm.
- "Accessible sites look plain." Accessibility constrains a few things — contrast, focus styles, text size — but good-looking accessible sites are the norm, not the exception.
- "An automated checker says 100, so we're done." Automated tools catch only some issues. Whether alt text is actually meaningful, or a flow makes sense with a screen reader, needs a person to check.
- "An overlay widget will make us compliant." Toolbars bolted on top can't fix missing labels or broken keyboard access in your code. Fix the source.
- "We have no disabled users." You may simply not know. Many disabilities aren't visible, and people who hit a barrier usually just leave.
What to ask your AI builder
- "Build this to meet WCAG 2.2 level AA."
- "Use semantic HTML: real buttons, links, headings in order, and labels for every form field."
- "Make sure every interactive element works with the keyboard alone and has a visible focus style."
- "Check all text and icon colours for contrast — 4.5:1 for normal text, 3:1 for large text and icons."
- "Add meaningful alt text to informative images and empty alt text to decorative ones."
- "Show form errors as text, linked to the field, not just with colour."
- "Respect the user's reduced-motion setting for animations."
- "Run an automated accessibility check and list what it can't test, so I can check that by hand."
Then test it yourself: put the mouse aside and try to complete your main flow using only Tab, Shift+Tab, Enter and Space. Try your phone's built-in screen reader on the main page. Zoom the browser to 200% and see if anything breaks.
Accessibility in Mythex
Mythex doesn't include a dedicated accessibility checker, so treat accessibility as part of your prompts and your testing. Ask for WCAG 2.2 AA from the first prompt, check the result in Preview with the keyboard, and use /test to have the agent click through your main flows before you publish — see App Testing. The SEO recipe also asks for semantic headings and meaningful alt text, which serve both goals.
For a hands-on checklist, see how to make your website accessible. For design, read how to design a good-looking app with AI, and before launch, how to test your app before launch. The W3C's own WCAG overview is the authoritative source.
Questions
What is web accessibility in simple terms?
Web accessibility means designing and building websites and apps so that people with disabilities can perceive, understand, navigate and use them. That includes people who are blind and use screen readers, people who can't use a mouse, people with low vision or colour blindness, deaf users, and people with cognitive disabilities.
What is WCAG?
WCAG (Web Content Accessibility Guidelines) is the international standard for web accessibility, published by the W3C. The current version is WCAG 2.2, first published in October 2023. Its success criteria are graded at levels A, AA and AAA, and level AA is the target most organisations and laws refer to.
What colour contrast does WCAG require?
At level AA, normal text needs a contrast ratio of at least 4.5:1 against its background, and large text (roughly 18 point, or 14 point bold) needs at least 3:1. Icons and the visible parts of controls need at least 3:1 against what's next to them.
Is web accessibility a legal requirement?
In many places, for many organisations, yes. Laws differ by country and sector — for example, the European Accessibility Act covers many consumer digital products and services in the EU. Check the rules that apply to you, or ask a legal adviser.
Can an accessibility overlay or widget make my site compliant?
Not on its own. Overlays add a toolbar on top of your site but can't reliably fix underlying problems like missing labels, unusable keyboard navigation or unclear structure. The dependable approach is to fix the site's code and content.