Skip to content

Accessibility for self-represented litigants: skip link, 404 landmark, print stylesheet #18

Description

@jacobyoby

Public court-forms site; these are WCAG-relevant gaps on the pages a self-represented litigant actually uses. All verified in source.

  • Skip-to-content link — none on any page. templates/base_templates/base.html:77-151 renders the navbar then #damain with no bypass anchor, so keyboard and screen-reader users tab through the full nav on every question page. WCAG 2.4.1 (Bypass Blocks). ~20 min.
  • 404 page dead-ends userstemplates/pages/404.html has no role="main" landmark and no link back to a working page, so a mistyped form URL strands the litigant. The question path already sets role="main" (standardformatter.py:947); match it and add a link home. ~15 min.
  • No print stylesheet — no @media print rules found. Litigants print the question/summary pages directly to bring to court; today they get the full nav, buttons, and wasted ink. ~1-2 hrs.

Note for the refactor: decorative icons already use alt="" correctly and icon-only controls carry aria-label mirroring the visible text (standardformatter.py:186, 569, 937) — preserve that.

Each ships with a fail-first e2e (curl the page, assert the element is absent on the unpatched release and present on the branch).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions