Accessibility Testing
// Definition
The discipline of verifying that software meets accessibility standards and can be used by people with disabilities — including users who rely on screen readers, keyboard-only navigation, voice control, switch access, or high-contrast modes. Testing strategy has three layers: automated scanning (axe, Lighthouse, Accessibility Scanner) catches structural issues such as missing labels, poor contrast, and incorrect ARIA roles — roughly 30–40% of all accessibility issues; manual keyboard-only testing validates focus order, interactive element reachability, and visible focus indicators; assistive-technology testing with VoiceOver, NVDA, TalkBack, or JAWS catches the remaining issues that automated tools cannot see. WCAG 2.1 Level AA is the most common legal compliance target. Integrating axe into Playwright or Cypress pipelines provides a regression gate against structural regressions.
// Related terms
WCAG
Web Content Accessibility Guidelines — the international standard for accessible web content, organised into four principles (Perceivable, Operable, Understandable, Robust). Levels A, AA, and AAA define increasing conformance. Most regulations target WCAG 2.1 or 2.2 Level AA.
ARIA (Accessible Rich Internet Applications)
A W3C specification that adds roles, states, and properties to HTML elements to expose semantics to assistive technologies when native HTML alone is insufficient. The first rule of ARIA is: do not use ARIA — prefer native HTML elements (button, input, nav) that carry the correct semantics implicitly. Incorrect ARIA can make an interface less accessible than no ARIA at all. QA testers check that ARIA roles match the component's actual behaviour, required states (aria-expanded, aria-selected, aria-checked) update dynamically, and aria-label or aria-labelledby provides meaningful names for elements that lack visible text.
Screen Reader
Assistive technology software that converts on-screen content into synthesised speech or Braille output, enabling users who are blind or have low vision to navigate and interact with digital interfaces. Common screen readers include NVDA and JAWS (Windows), VoiceOver (macOS and iOS), and TalkBack (Android). QA testers use screen readers to verify that interactive elements have meaningful names, heading and landmark structure is navigable, dynamic content changes are announced, and no information is conveyed visually only.
Color Contrast
The difference in perceived luminance between a foreground colour (typically text or an icon) and its background, expressed as a ratio from 1:1 (no contrast) to 21:1 (black on white). WCAG 2.1 Level AA requires a minimum ratio of 4.5:1 for normal text and 3:1 for large text (18pt or 14pt bold) and for UI component boundaries. QA testers verify contrast using browser DevTools, the axe extension, or dedicated contrast-checking tools; failing contrast is one of the most common and automatable accessibility defects.
Semantic HTML
The practice of using HTML elements according to their intended meaning — heading elements (h1–h6) for headings, button for interactive controls, nav for navigation regions, main for the primary content area — rather than using generic div and span elements for everything. Semantic elements convey role, structure, and sometimes state to browsers, search engines, and assistive technologies without requiring additional ARIA attributes. QA testers check that pages use a logical heading hierarchy, landmark regions are present, and interactive controls use native elements rather than div or span with click handlers.
Accessibility
The practice of designing and testing software so it is usable by people with a wide range of abilities — including users who rely on screen readers, keyboard navigation, voice control, switch access, or high-contrast display modes. In QA, accessibility testing involves both automated scanning and manual verification. Automated tools (axe, Lighthouse, Accessibility Scanner for Android, Accessibility Inspector for iOS) catch structural issues such as missing labels, insufficient colour contrast, and incorrect ARIA roles — typically around a third of all accessibility issues. The remaining two-thirds require testing with actual assistive technologies: VoiceOver on iOS, TalkBack on Android, NVDA or JAWS on Windows. WCAG 2.1 AA is the most widely referenced standard; Level AA compliance is required by law in many jurisdictions (ADA, EN 301 549, AODA). Integrating accessibility checks into CI — for example, running axe as part of a Playwright or Selenium test suite — prevents regressions from being merged undetected.