By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Accessibility testing ensures your digital products work for everyone, including people with disabilities (e.g., visual, motor, or cognitive impairments). It’s not just ethical—it’s legally required (WCAG, ADA) and improves usability for all users. Example: A hospital’s patient portal might use screen readers to help blind users book appointments, while keyboard navigation lets users with motor disabilities skip repetitive mouse clicks. Poor accessibility = frustrated users, lost revenue, and potential lawsuits.
WCAG (Web Content Accessibility Guidelines): The global standard for digital accessibility (e.g., WCAG 2.1 AA). Covers contrast, keyboard navigation, screen reader compatibility, and more. Example: A "Submit" button must have a 4.5:1 contrast ratio against its background.
Screen Reader: Software (e.g., VoiceOver, NVDA, JAWS) that reads aloud on-screen text and describes UI elements for blind/low-vision users. Example: A screen reader announcing "Button, Add to Cart" instead of just "Add to Cart" (missing context).
Keyboard Navigation: Users should be able to tab through interactive elements (links, buttons, forms) without a mouse. Critical for motor disabilities. Example: Pressing Tab moves focus from a search bar → "Search" button → results list.
Tab
Focus Order: The sequence in which elements receive keyboard focus. Should follow a logical flow (left-to-right, top-to-bottom). Example: A modal’s "Close" button should be the last tab stop, not the first.
Skip Links: Hidden links (visible on focus) that let keyboard users jump past repetitive content (e.g., navigation menus). Example: A "Skip to Content" link at the top of a webpage.
ARIA (Accessible Rich Internet Applications): HTML attributes that improve screen reader interpretation of dynamic content (e.g., modals, dropdowns). Example: aria-label="Close menu" clarifies a hamburger icon’s purpose.
aria-label="Close menu"
Semantic HTML: Using proper HTML tags (<button>, <nav>, <h1>) instead of <div> for everything. Screen readers rely on these. Example: <button> instead of <div onclick="..."> for a clickable element.
<button>
<nav>
<h1>
<div>
<div onclick="...">
Contrast Ratio (WCAG): Text/background color contrast must meet 4.5:1 for normal text, 3:1 for large text. Example: Light gray text on white fails; dark gray on white passes.
Alternative Text (Alt Text): Descriptions for images (alt="Golden retriever playing fetch"). Screen readers read this aloud. Example: A "Download PDF" icon needs alt="Download PDF"—not alt="icon" or empty.
alt="Golden retriever playing fetch"
alt="Download PDF"
alt="icon"
Heuristic: Error Prevention (Nielsen’s #5): Design to minimize mistakes (e.g., confirmation dialogs, clear labels). Example: A "Delete Account" button should require a second confirmation.
Heuristic: Flexibility & Efficiency (Nielsen’s #7): Accommodate both novice and expert users (e.g., keyboard shortcuts). Example: Gmail’s Shift + ? shortcut menu.
Shift + ?
Law: Miller’s Law (7±2): Users can only hold ~7 items in working memory. Avoid overwhelming them. Example: A dropdown menu with 20 options violates this; group into categories.
Shift + Tab
Enter
Cmd + F5
alt="Chart: Q3 sales growth"
:focus-visible
<div class="button">
aria-label="Proceed to checkout"
:focus
aria-live
alt="Download report"
alt="PDF icon"
aria-label
Scenario: A stakeholder says, "We don’t need to test with screen readers—our users aren’t blind." Answer: "1 in 4 adults in the U.S. has a disability. Screen reader testing also improves usability for low-vision users, motor disabilities, and even situational impairments (e.g., a broken arm). WCAG compliance is also a legal requirement for many organizations."
Scenario: You’re reviewing a form where the "Submit" button has no focus state. What’s the risk, and how do you fix it? Answer: Risk: Keyboard users can’t see where they are, leading to frustration or abandonment. Fix: Add :focus-visible { outline: 2px solid #005fcc; } to CSS.
:focus-visible { outline: 2px solid #005fcc; }
Scenario: A designer argues, "We don’t need alt text for decorative images." Answer: "True—but decorative images should use alt="" (empty alt text) so screen readers skip them. Otherwise, they’ll announce "Image, image123.jpg", which is confusing."
alt=""
alt
<div role="button">
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.