← All Learning Paths

Accessibility Engineer

A role path for building accessible interfaces: semantic structure, ARIA, focus management, contrast, and a repeatable accessibility audit.

roleintermediate13 nodes13h total

Path overview

无障碍不是事后补丁,而是从语义化结构到焦点管理的系统性工程能力。本路径从可访问的 Web 组件与 ARIA 模式出发,覆盖动态内容的实时区域、对话框焦点陷阱、表单错误播报、色彩对比度校验,最终落到可复用的无障碍审计工作流。

This path builds the practical skills an accessibility engineer needs: semantic and ARIA patterns, live regions, focus management, color contrast, and an audit workflow that keeps a11y from regressing.

  1. Read "Building Accessible Web Components" for the "Start with Semantics: The Free Accessibility" argument, then name the decision in accessibility work it would change.

    Completion criteria: Attach a one-page summary that quotes "Start with Semantics: The Free Accessibility", lists two trade-offs, and links the commit where you applied it.

    Next step: Accessibility with ARIA Attributes

    ⏱ 1h

  2. Adapt "Accessibility with ARIA Attributes" to a second input and compare the new output with the behavior described in "Implements accessible web components using ARIA attributes, proper roles, keyboard".

    Prerequisites: Building Accessible Web Components

    Completion criteria: Attach the terminal transcript for "Accessibility with ARIA Attributes": command, exit code, and the printed result you used to confirm "Implements accessible web components using ARIA attributes, proper roles, keyboard".

    Next step: Live Regions for Dynamic Updates

    ⏱ 0.75h

  3. Execute "Live Regions for Dynamic Updates", change one constant, and describe how the output diverges from "Uses ARIA live regions to announce dynamic content changes to screen readers, supporting".

    Prerequisites: Accessibility with ARIA Attributes

    Completion criteria: Change one constant in "Live Regions for Dynamic Updates", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Accessible Modal Dialog with the dialog Element

    ⏱ 0.75h

  4. Run the accessibility snippet "Accessible Modal Dialog with the dialog Element", capture stdout, and show which line demonstrates the documented behavior: "Build a native HTML modal with showModal, labelled and described content, Escape and".

    Prerequisites: Live Regions for Dynamic Updates

    Completion criteria: Paste the command, the exit code, and the output line matching "Build a native HTML modal with showModal, labelled and described content, Escape and"; then show a second run with a changed parameter.

    Next step: Accessible Form Error Summary

    ⏱ 0.75h

  5. Adapt "Accessible Form Error Summary" to a second input and compare the new output with the behavior described in "Validate a signup form with a focusable error summary, linked error messages, aria-invalid".

    Prerequisites: Accessible Modal Dialog with the dialog Element

    Completion criteria: Save two runs of "Accessible Form Error Summary" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: Accessible Sortable Table with aria-sort

    ⏱ 0.75h

  6. Execute "Accessible Sortable Table with aria-sort", change one constant, and describe how the output diverges from "Sort an HTML data table with real buttons, keep aria-sort on the active column, and announce".

    Prerequisites: Accessible Form Error Summary

    Completion criteria: Attach the terminal transcript for "Accessible Sortable Table with aria-sort": command, exit code, and the printed result you used to confirm "Sort an HTML data table with real buttons, keep aria-sort on the active column, and announce".

    Next step: CSS Focus Visible Accessibility

    ⏱ 0.75h

  7. Run the accessibility snippet "CSS Focus Visible Accessibility", capture stdout, and show which line demonstrates the documented behavior: "Style accessible focus indicators using CSS focus-visible to show outlines only for keyboard".

    Prerequisites: Accessible Sortable Table with aria-sort

    Completion criteria: Change one constant in "CSS Focus Visible Accessibility", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: WCAG Contrast Ratio Calculator

    ⏱ 0.75h

  8. Adapt "WCAG Contrast Ratio Calculator" to a second input and compare the new output with the behavior described in "Compute WCAG contrast ratios from hex colors and check AA or AAA thresholds for normal text".

    Prerequisites: CSS Focus Visible Accessibility

    Completion criteria: Paste the command, the exit code, and the output line matching "Compute WCAG contrast ratios from hex colors and check AA or AAA thresholds for normal text"; then show a second run with a changed parameter.

    Next step: WCAG Color Contrast Checker

    ⏱ 0.75h

  9. Use "WCAG Color Contrast Checker" on a accessibility sample, then check "color-pair to contrast-ratio" against your manual result.

    Prerequisites: WCAG Contrast Ratio Calculator

    Completion criteria: Attach a manual calculation for one input and the tool's output for the same input, with a pass/fail mark.

    Next step: ARIA Labels for Accessibility

    ⏱ 0.25h

  10. Solve "ARIA Labels for Accessibility": turn Accessible markup with ARIA into screen reader friendly and pass the provided samples.

    Prerequisites: WCAG Color Contrast Checker

    Completion criteria: Show a test command that validates "Accessible markup with ARIA" and "screen reader friendly" and passes after your fix.

    Next step: Cycle Focus Inside a Modal Dialog

    ⏱ 0.5h

  11. Implement "Cycle Focus Inside a Modal Dialog" so that The next zero-based focus index, or -1 when nothing is focusable. yields A JSON string with current index, focusable count, and shift flag., including the edge case in the second sample.

    Prerequisites: ARIA Labels for Accessibility

    Completion criteria: Submit a solution that passes both samples (The next zero-based focus index, or -1 when nothing is focusable. to A JSON string with current index, focusable count, and shift flag.) and attach the failing case you fixed.

    Next step: Accessibility Audit Workflow

    ⏱ 0.5h

  12. Use "Accessibility Audit Workflow" to decide "The audit covers real tasks, not only the homepage.", then prove the outcome with "Verify that key user journeys meet WCAG 2.2 AA requirements and prevent regressions through".

    Prerequisites: Cycle Focus Inside a Modal Dialog

    Completion criteria: Record the state "Verify that key user journeys meet WCAG 2.2 AA requirements and prevent regressions through" at the verification step, then paste the output of "The audit covers real tasks, not only the homepage." that proves it.

    Next step: Capstone: Accessibility Engineer

    ⏱ 1.5h

  13. Ship "Browser pool" from "Build a Headless Screenshot Service", then prove it with the project's test suite and an acceptance note.

    Prerequisites: Accessibility Audit Workflow

    Completion criteria: Run the project's test command for "Build a Headless Screenshot Service", paste the passing output, and attach the acceptance note for "Browser pool" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h