Accessibility¶
OPI FOUNDATIONS · SERVICE STANDARD
What OPI Foundations promises, how we test it, and how to report a barrier.
OPI Foundations is designed and tested against WCAG 2.2 Level AA. Accessibility is part of the definition of done for the site, not a review added after publication.
This is a service commitment, not a claim that an automated tool can prove perfect conformance. Automated checks catch repeatable failures. Human review is still required for meaning, reading order, keyboard experience, zoom, screen-reader clarity, and the quality of alternative text.
What we promise¶
| Promise | How it is proven |
|---|---|
| Pages use meaningful headings, landmarks, names, and native HTML semantics. | Every generated page receives static semantic checks and a full-browser axe scan. |
| Text, controls, links, and focus indicators remain perceivable in both color schemes. | Axe evaluates every canonical route in light and dark modes; focused header controls, tabs, cards, tables, homepage page tools, and the skip link receive browser checks. |
| The site works without a mouse. | Dedicated browser checks prove the skip link, scrollable tables, and the homepage's labeled edit and source links. One focused header journey proves Tab order, Enter and Space activation, modal focus containment, Escape, focus return, global search shortcut behavior, and instant-navigation handoff. |
| Content reflows without page-level horizontal scrolling, and the homepage opening remains intact. | Every canonical route is measured at a 320 CSS-pixel viewport in both color schemes. A focused homepage check measures the hero and page-tools row at 320px, 390px, and 1440px; it fails when a heading word fragments, the row separates from the hero, controls fall outside the row, or a target becomes smaller than 44 × 44 CSS pixels. Data tables may scroll inside their labeled region, as WCAG permits. |
| Responsive and interactive states receive the same standard as a direct page load. | The browser audit covers desktop, 320px reflow, the open mobile navigation drawer, open search, and pages reached through instant navigation. |
| Accessibility failures stop a release. | task prepush holds generated semantic checks; task validate adds the real-browser matrix and must pass before deployment. |
What the automated gate covers¶
The local release gate scans every URL in the generated sitemap with axe-core. The rule engine is pinned so its behavior cannot change silently. The matrix covers:
- 1440 × 900 desktop in light and dark modes;
- 320 × 800 reflow in light and dark modes;
- WCAG A and AA rules, plus axe accessibility best practices;
- document-level horizontal overflow;
- the first-focus skip link;
- the mobile navigation drawer and search after they are opened; and
- one enhanced 320px, 390px, exact-breakpoint, and true-desktop semantic-header journey covering native controls, 44px targets, focus entry and return, and instant navigation; and
- one JavaScript-disabled header context proving visible, keyboard-native top-level navigation with no hidden drawer focus stops, while search stays suppressed without its results runtime; and
- one homepage-opening check that reuses already-loaded 320px, 390px, and 1440px states to measure hero reflow, page-tools placement, labeled native links, 44px targets, and canonical edit/source destinations; it also checks the page-tools focus treatment once in each color scheme.
Shared header behavior runs once. The route-wide axe matrix still owns semantics, contrast, and reflow across every page and both color schemes; the mobile route matrix checks only the route- and scheme-specific active-link treatment. Repeating drawer and search behavior per route or theme would spend more time without proving a different risk. Homepage geometry is scheme-independent, so its focused width checks run once; only the scheme-specific page-tools focus treatment runs in both light and dark modes.
Run the complete local proof with:
What still requires people¶
Before a structural navigation, template, or shared-component release, the reviewer should:
- Travel through the changed experience with only a keyboard.
- Check the page at 200% and 400% zoom.
- Apply increased line, paragraph, letter, and word spacing.
- Spot-check the changed experience with a screen reader.
- Confirm that headings, link text, alternative text, and reading order still make sense without visual context.
The pull request should name the pages and states reviewed. “The automated check passed” is not a substitute for that evidence.
Report an accessibility barrier¶
Email opi@baltimorecity.gov or open a GitHub issue. Include the page address, what you were trying to do, what happened, and the browser or assistive technology you were using. Do not include sensitive personal information.