This handbook defines the architectural, semantic, and human-interface engineering standards required for all web applications, municipal portals, and digital services developed and operated by Orca Pings. Formulated in accordance with the W3C Web Content Accessibility Guidelines (WCAG) 2.2 Level AA, the Accessible British Columbia Act (ABCA), and modern assistive technology standards, every technical requirement is categorized by its normative mandate: MUST, MUST NOT, SHOULD, and SHOULD NOT.
Perceivable & Multi-Sensory Media
Information and user interface components must be presentable to users in ways they can perceive. Content must never rely exclusively on a single sensory sense (such as sight, color perception, or hearing) and must flex gracefully across text resizing, high-contrast themes, and viewport magnification.
1.1 Contrast & Color Independence
Visual presentation of text and critical user interface elements must maintain sufficient luminance contrast against their backgrounds to remain readable for individuals with moderate low vision or color vision deficiencies.
Mathematical Contrast Minimums
All body text and heading content MUST achieve a minimum contrast ratio of 4.5:1 against adjacent background colors for normal text (under 18pt / 24px, or under 14pt / 18.5px bold), and 3.0:1 for large text (WCAG 2.2 SC 1.4.3). User interface components (form input borders, radio/checkbox glyphs, button outlines) and graphical objects essential for comprehension MUST maintain at least 3.0:1 contrast against adjacent backgrounds (SC 1.4.11):
/* Compliant contrast tokens: Navy on Cream = 11.2:1; Teal on White = 4.6:1 */
:root {
--text-primary: #082d4d; /* 11.2:1 against #f7f5f0 */
--ui-border-active: #0d6e7f; /* 4.6:1 against #ffffff */
--focus-ring: #082d4d; /* 11.2:1 against light backgrounds */
}
Referenced: Note 1: Contrast Calculation & APCA While WCAG 2.2 defines mathematical luminance ratios (4.5:1), the Accessible Perceptual Contrast Algorithm (APCA) models spatial frequency and optical weight, warning against thin font weights even when mathematical ratios pass. Source: W3C WCAG 2.2 SC 1.4.3 / W3C Silver APCA
Color as Sole Channel of Information
Applications MUST NOT use color as the single visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element (SC 1.4.1). For example, required form fields, validation states, or status badges must always pair color with text labels, icons, or patterns.
Multi-Factor Status Indicators
User interface notifications and state indicators SHOULD combine color, distinct iconography, and descriptive text strings (e.g. a checkmark icon with text "Active" rather than a plain green dot).
Low-Opacity Translucent Text Layers
Designers and developers SHOULD NOT position text over multi-colored photographs or video backgrounds using low-opacity alpha overlays without a protective solid background token behind the text container.
1.2 Text Scaling & Responsive Reflow
Digital applications must accommodate users who increase font size preferences or utilize full-screen browser magnification up to 400% without breaking layouts or truncating critical information.
200% Text Resize & 400% Viewport Reflow
All typography MUST scale up to 200% without loss of content or functionality, and without clipping in fixed-height containers (SC 1.4.4). Content MUST reflow cleanly into a single vertical column at 400% browser zoom (equivalent to a 320 CSS pixel width viewport) without requiring horizontal scrolling (SC 1.4.10):
/* Flexible relative typography avoiding rigid pixel locks */
body {
font-size: 1rem; /* Respects user agent font size */
line-height: 1.6;
}
.card-content {
min-height: auto; /* Avoids fixed height clipping */
overflow-wrap: break-word; /* Prevents overflow blowouts at 320px */
}
Referenced: Note 2: 320px Reflow Benchmark Testing at 320 CSS pixels width simulates both 400% zoom on a standard 1280px desktop monitor and low-cost mobile handsets used throughout regional BC communities. Source: W3C WCAG 2.2 SC 1.4.10 (Reflow)
Disabling Viewport Zoom Scalability
HTML documents MUST NOT specify user-scalable=no, maximum-scale=1.0, or restrict the minimum scale in the <meta name="viewport"> tag. Doing so directly disables native pinch-to-zoom capabilities for low-vision users.
Fluid CSS Clamp Units for Hero Headers
Large display headings SHOULD utilize clamp() with relative units (e.g. font-size: clamp(2rem, 5vw, 3.5rem)) to scale proportionally across varied viewport geometries.
Fixed Pixel Width Layout Columns
Layouts SHOULD NOT define parent content grids with rigid pixel dimensions (e.g. width: 1200px) without accompanying max-width: 100% rules, which cause horizontal overflow on mobile viewports.
1.3 Media, Imagery & Non-Text Content
Every non-text element presented to the user must provide an equivalent textual alternative to enable perception by assistive technology users.
Semantic Alternative Text Declarations
Every <img> element MUST provide an alt attribute. Informational images must convey the purpose and context of the image concisely. Decorative images, background flourishes, and repetitive icons MUST provide an explicit empty attribute (alt="") or aria-hidden="true" to prevent assistive tech spam (SC 1.1.1):
<!-- Informative content photo -->
<img src="/assets/images/cities/squamish.jpg" alt="View of the Stawamus Chief granite cliff towering over Squamish, British Columbia" width="1200" height="800">
<!-- Decorative visual accent -->
<img src="/assets/brand/chevron.svg" alt="" aria-hidden="true">
Referenced: Note 3: Alt Text Decision Tree If an image is inside an anchor link alongside existing text (e.g. <a><img><span>Vancouver</span></a>), giving the image descriptive alt text creates redundant duplicate announcements. Use alt="" in combined links. Source: W3C WAI Images Tutorial
Omitted Alt Attributes or File Path Placeholders
HTML templates MUST NOT emit image tags without an alt attribute, nor populate alt with raw file names (e.g. alt="IMG_4920.jpg") or boilerplate filler (e.g. alt="photo").
Synchronized Captions for Video & Audio
Any pre-recorded promotional or training media SHOULD include synchronized WebVTT captions (<track kind="captions">) and a complete downloadable textual transcript (SC 1.2.2).
Rasterized Text Inside Images
Production teams SHOULD NOT flatten promotional text, headlines, or contact numbers into PNG or JPEG images. Text must remain live DOM elements for translation, reflow, and screen reader access.
Operable Interface & Keyboard Focus Mechanics
User interface components and navigation must be fully operable by keyboard, switch devices, head pointers, and touchscreens. Users must never be trapped, disoriented by invisible focus rings, or prevented from activating controls due to microscopic hit targets.
2.1 Keyboard Navigation & Focus Trap Avoidance
All website functionality must be fully navigable and executable using only a keyboard, maintaining a logical and predictable focus progression.
Complete Keyboard Traversal & Skip Link
All interactive components MUST be focusable and operable via standard keyboard sequences (Tab, Shift+Tab, Enter, Space, arrow keys) without mouse dependency (SC 2.1.1). Applications MUST provide a visible-on-focus Skip to Content link as the first focusable DOM element (SC 2.4.1):
<!-- Top-level Skip Link -->
<a class="skip-link" href="#main">Skip to main content</a>
<style>
.skip-link {
position: absolute;
top: -999px;
left: 1rem;
background: #082d4d;
color: #ffffff;
padding: .75rem 1.25rem;
z-index: 9999;
}
.skip-link:focus {
top: 1rem;
}
</style>
Referenced: Note 4: The Keyboard Trap Defense A keyboard trap occurs when focus enters a sub-component (like a modal dialog, date picker, or video player) and cannot be exited using standard Tab, Shift+Tab, or Escape keys. Keyboard traps constitute a severe WCAG Level A violation (SC 2.1.2). Source: W3C WCAG 2.2 SC 2.1.2 (No Keyboard Trap)
Unfocusable Pseudo-Buttons or Positive Tabindexes
Applications MUST NOT implement interactive triggers using non-interactive elements (e.g. <div onclick="...">) without keyboard event listeners, nor use positive tabindex values (e.g. tabindex="1"), which disrupt the natural source-order focus sequence.
Modal Dialog Focus Trapping & Restoration
When an interactive overlay or modal is opened, focus SHOULD be trapped inside the modal, dismissible with Escape, and automatically restored to the triggering button upon dismissal.
Focus Reordering via CSS Flex Order
Developers SHOULD NOT reorder visual presentation using CSS order or flex-direction: row-reverse if doing so causes the visual tab progression to conflict with the logical DOM sequence.
2.2 Visible Focus Indicators & Appearance
Keyboard users rely entirely on visible focus rings to know which element is primed for activation. Eliminating focus rings renders software unusable for motor-impaired and power-keyboard operators.
High-Contrast 3:1 Focus Ring Guarantee
Any keyboard focusable element MUST have a clear visual focus indicator (SC 2.4.7). The focus indicator MUST provide a contrast ratio of at least 3.0:1 between focused and unfocused states, and 3.0:1 against adjacent background colors, with a minimum thickness of 2 CSS pixels (SC 2.4.11 / 2.4.13):
/* Universal high-contrast focus indicator token */
:focus-visible {
outline: 2px solid var(--teal, #0d6e7f);
outline-offset: 2px;
}
Referenced: Note 5: Focus Indicator Geometry WCAG 2.2 introduced SC 2.4.11 (Focus Not Obscured) and SC 2.4.13 (Focus Appearance), mandating that sticky headers or cookie banners must not obscure focused elements, and requiring 3:1 contrast against adjacent colors. Source: W3C WCAG 2.2 SC 2.4.11 & SC 2.4.13
Removing Focus Outlines via CSS
Style declarations MUST NOT set outline: none, outline: 0, or suppress focus rings on interactive elements without substituting a visually distinct, high-contrast alternative.
Utilize :focus-visible for Mouse Cleanliness
CSS stylesheets SHOULD utilize the modern pseudo-class :focus-visible instead of generic :focus, displaying crisp focus rings for keyboard tab users while omitting rings on mouse click.
Focus Rings Clipped by Overflow Hidden
Developers SHOULD NOT place overflow: hidden on parent containers immediately enclosing focusable controls if the container clips the focus indicator ring.
2.3 Pointer Target Size & Touch Ergonomics
Small or closely packed touch targets cause accidental activations, frustrating users with hand tremors, fine motor control challenges, or mobile field operations in rough environments.
WCAG 2.2 Minimum 24x24px Target Geometry
All interactive pointer targets MUST meet the WCAG 2.2 Target Size (Minimum) criterion: the target size MUST be at least 24 by 24 CSS pixels, or provide sufficient perimeter spacing such that a 24px diameter circle centered on the target does not intersect another target (SC 2.5.8):
/* Ensuring touch target minimums with invisible touch extension */
.icon-button {
min-width: 24px;
min-height: 24px;
padding: .5rem; /* Expands interactive hit boundary */
}
Referenced: Note 6: WCAG 2.2 Target Size SC 2.5.8 SC 2.5.8 is a new Level AA requirement in WCAG 2.2. Exceptions apply only for inline text links within sentences, browser default native controls, or legal/essential presentations. Source: W3C WCAG 2.2 SC 2.5.8 (Target Size Minimum)
Clustered Micro-Hit Targets
Applications MUST NOT position interactive icons (such as delete icons, edit toggles, or filter pills) closer than 8 CSS pixels apart if their physical dimensions are below 32x32px.
Adopt 44x44px for Primary Touch Actions
Primary mobile controls, navigation triggers, and form buttons SHOULD provide a target size of at least 44 by 44 CSS pixels for comfortable one-handed mobile operation.
Desktop-Only Hover State Menus
Navigation menus SHOULD NOT rely strictly on CSS :hover triggers to reveal submenus without supporting click/tap toggles for touchscreen and keyboard users.
Understandable Interactions & Form Semantics
Information and the operation of the user interface must be understandable. Users must be able to comprehend the content, predict system behavior, and complete workflows without confusion or data loss.
3.1 Form Controls, Labels & Autocomplete
Form interfaces represent critical intake workflows. Ambiguous field definitions or missing programmatic relationships prevent users with cognitive or visual impairments from completing forms.
Explicit Labeling & Autocomplete Tokens
Every form input, select, and textarea MUST have a programmatically associated label via explicit <label for="id"> or aria-labelledby (SC 3.3.2). Inputs collecting user personal data (name, email, phone, address) MUST include appropriate HTML5 autocomplete tokens (SC 1.3.5):
<!-- Fully accessible labeled input with autocomplete -->
<label for="contact-email">Email Address <span class="required" aria-hidden="true">*</span></label>
<input type="email" id="contact-email" name="email" autocomplete="email" required aria-required="true">
Referenced: Note 7: Autocomplete & Cognitive Accessibility WCAG SC 1.3.5 requires identifying the input purpose for personal data fields. Autocomplete allows browser autofill and password managers to reduce cognitive typing burdens for users with motor and memory disabilities. Source: W3C WCAG 2.2 SC 1.3.5 (Identify Input Purpose)
Placeholder as Replacement for Visible Label
Form designs MUST NOT substitute the HTML placeholder attribute for a visible <label> element. Placeholders disappear once text is typed, leaving the user with no persistent reminder of the expected input format.
Group Related Controls in Fieldsets
Clusters of related controls (such as radio choices, multiple service checkboxes, or physical address inputs) SHOULD be enclosed in a <fieldset> element with a descriptive <legend>.
Suppression of Browser Native Spellcheck
Text areas for messages or feedback SHOULD NOT disable browser native spellcheck (spellcheck="false") unless the field is strictly intended for programming code or technical identifiers.
3.2 Error Identification & Live Feedback
When input mistakes occur, users must receive immediate, clear feedback pinpointing what went wrong and how to correct it without losing existing work.
Programmatic Error Association & Data Preservation
When an input fails validation, the error MUST be identified in text and programmatically associated with the input using aria-invalid="true" and aria-describedby="error-id" (SC 3.3.1 / 3.3.3). Previously entered form values MUST be preserved upon submission error:
<label for="phone">Phone Number</label>
<input type="tel" id="phone" name="phone" aria-invalid="true" aria-describedby="phone-err" value="604-555">
<p id="phone-err" class="form-error" role="alert">Please enter a complete 10-digit British Columbia phone number.</p>
Referenced: Note 8: Programmatic Error Association Without aria-describedby pointing to the error message element, a screen reader user tabbing into the field only hears the label and value, completely unaware that an error description exists visually on the page. Source: W3C WAI Form Validation Patterns
Clearing Form Inputs on Validation Failure
Applications MUST NOT wipe out user form inputs when validation errors are detected. Forcing users to retype long messages or contact information causes catastrophic abandonment for assistive technology users.
Move Focus to Error Summary or First Errored Field
Upon server-side form rejection, page focus SHOULD automatically move to an accessible top-level error summary container or directly to the first invalid field.
Obscure Error Messages via Floating Toasts
Applications SHOULD NOT display critical validation errors solely inside transient auto-dismissing toast notifications that vanish before a user has time to read them.
3.3 Motion & Animation Preferences
Uncontrolled animations and screen parallax can trigger dizziness, vestibular disorders, nausea, and physical discomfort in susceptible individuals.
Prefers-Reduced-Motion Honor & Flash Limits
Web applications MUST respect user operating system animation preferences by suppressing non-essential motion within @media (prefers-reduced-motion: reduce) (SC 2.3.3). Web interfaces MUST NOT display content that flashes more than three times in any 1-second period (SC 2.3.1):
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
Referenced: Note 9: Reduced Motion Engineering Vestibular motion sensitivity affects over 35% of adults over 40. Smooth scrolling (scroll-behavior: smooth) across long directory pages can cause severe spatial disorientation unless suppressed under reduced-motion. Source: W3C WCAG 2.2 SC 2.3.3 (Animation from Interactions)
Autoplaying Audio or Video Over 3 Seconds
Web pages MUST NOT automatically play audio that plays for more than 3 seconds without providing a mechanism to pause, stop, or adjust volume independently (SC 1.4.2).
Provide User Pause Controls for Any Carousel
Any rotating hero carousel or automated photo ticker SHOULD include a prominent, accessible Pause/Play button (SC 2.2.2).
Tie Functional Logic to CSS Animation Completion
Application logic SHOULD NOT rely on animationend or transitionend JavaScript events to trigger navigation or show modal dialogs, which fail when animations are suppressed.
Robust Markup & Assistive Tech Patterns
Markup must be robust enough that it can be interpreted reliably by a wide variety of user agents, including modern assistive technologies. Semantic HTML5 elements must serve as the primary architecture before applying ARIA attributes.
4.1 Semantic HTML5 Landmarks & Structure
Assistive technology relies on clean DOM structure to construct accessibility trees and allow users to jump directly between major document zones.
Native Structural Landmark Hierarchy
Every page MUST use native HTML5 landmark elements (<header>, <nav>, <main>, <aside>, <footer>) to delineate top-level document regions (SC 4.1.2). Exactly one <main> landmark MUST exist per document:
<!-- Correct semantic structural tree -->
<header class="site-header">...</header>
<nav class="site-nav" aria-label="Main navigation">...</nav>
<main id="main">
<article>
<h1>Page Title</h1>
...
</article>
</main>
<footer class="site-footer">...</footer>
Referenced: Note 10: The First Rule of ARIA W3C Rule #1 of ARIA: If you can use a native HTML element (like <button>, <details>, or <dialog>) instead of repurposing an element and adding an ARIA role, state, or property, DO SO. Native elements carry free keyboard and screen reader support. Source: W3C WAI Using ARIA Standards
Generic Div Anchors or Buttons
Markup MUST NOT use <div> or <span> for buttons or hyperlink navigation (e.g. <div onclick="location.href=...">) when native <button> or <a href> elements exist.
Disambiguate Multiple Nav Landmarks with Aria-Label
When multiple <nav> landmarks exist on a page (e.g. main site nav, breadcrumb trail, pagination, table of contents), each SHOULD have a unique aria-label (e.g. aria-label="Breadcrumb").
Duplicate Heading Hierarchy Skips
Documents SHOULD NOT skip heading levels (e.g. jumping from <h2> directly to <h5>) purely for aesthetic font styling.
4.2 ARIA Attributes & Accessible Name Computation
ARIA attributes augment HTML when native elements cannot fulfill complex widget roles, but misapplied ARIA actively degrades accessibility.
Accurate State Reflection (Aria-Expanded & Aria-Controls)
Interactive disclosures, accordions, and flyout menus MUST programmatically communicate their state via aria-expanded="true/false" and link to the controlled container via aria-controls="id" (SC 4.1.2):
<!-- Compliant disclosure toggle -->
<button type="button" class="menu-toggle" aria-expanded="false" aria-controls="site-nav">
<span></span><b>Menu</b>
</button>
<nav id="site-nav" class="site-nav" hidden>...</nav>
Desynchronized ARIA State Attributes
JavaScript handlers MUST NOT update visual element display (such as adding an .is-open class) without simultaneously updating corresponding ARIA states (e.g. toggling aria-expanded and hidden).
Match Accessible Name with Visible Label
When an element contains visible text, its computed accessible name (via aria-label or text content) SHOULD include the visible text string at the start of the accessible name (SC 2.5.3 Label in Name).
Redundant ARIA Roles on Native Tags
Developers SHOULD NOT declare redundant role attributes on native HTML tags (e.g. <button role="button"> or <nav role="navigation">), which clutters screen reader parsing pipelines.
4.3 Dynamic DOM Updates & Live Regions
When page content updates dynamically without a full browser reload, screen reader users must be informed without suffering disorienting focus relocations.
Polite Live Regions for Status Updates
Dynamic result counters, filter totals, and asynchronous status messages MUST use polite ARIA live regions (role="status" or aria-live="polite" with aria-atomic="true") to announce updates when the user is idle (SC 4.1.3):
<!-- Accessible status live announcer -->
<div class="sr-only" role="status" aria-live="polite" aria-atomic="true" data-filter-status>
Showing 14 results for Victoria, British Columbia.
</div>
Referenced: Note 11: Live Region Politeness Use aria-live="polite" for almost all UI updates (search counts, filter badges, copy confirmations). Reserve aria-live="assertive" solely for critical emergency warnings, because assertive immediately interrupts current audio playback. Source: W3C WAI ARIA Live Regions Specification
Injecting Full HTML Blocks into Live Regions
Applications MUST NOT inject complex nested DOM trees into an active live region, which causes assistive technology to speak dozens of structural container tags instead of a concise status summary.
Pre-Render Empty Live Region in Initial DOM
Developers SHOULD ensure the live region container is present in the initial DOM before injecting text updates, ensuring screen reader engines register the mutation observer correctly.
Overuse of Assertive Live Regions
Applications SHOULD NOT assign aria-live="assertive" to routine user interactions like clipboard copy buttons or instant search filter keystrokes.
British Columbia Public Sector & Legal Compliance
British Columbia leads Canadian digital equity with comprehensive legislation. Software and public web platforms deployed across BC must adhere to statutory mandates, public sector procurement rules, and rigorous auditing standards.
5.1 Accessible British Columbia Act (ABCA) Standards
The Accessible British Columbia Act establishes mandatory digital accessibility obligations across provincial ministries, crown corporations, municipalities, and commercial technology providers.
WCAG 2.1 / 2.2 Level AA Statutory Compliance
All public portals, municipal directory interfaces, and enterprise client web properties developed by Orca Pings MUST satisfy 100% of WCAG 2.1 and 2.2 Level AA Success Criteria without exception:
<!-- Conformance Declaration in Document Footer / About -->
<p class="accessibility-conformance">
Orca Pings conforms strictly with the Accessible British Columbia Act (ABCA) and WCAG 2.2 Level AA standards.
</p>
Referenced: Note 12: ABCA Regulatory Framework Enacted by the Legislative Assembly of British Columbia, the Accessible BC Act requires prescribed public sector bodies and vendors to develop accessibility plans, establish public feedback mechanisms, and eliminate systemic digital barriers. Source: Accessible British Columbia Act [SBC 2021] c. 19
Third-Party Accessibility Overlay Widgets
Web applications MUST NOT install or rely upon automated "accessibility overlay" plugins or inject scripts (such as AccessiBe, UserWay, or EqualWeb). These tools fail to fix underlying code flaws, frequently interfere with genuine screen readers, and are rejected by BC public procurement standards.
Maintain Conformance Verification Artifacts
Engineering teams SHOULD archive automated accessibility test reports and manual audit logs alongside each major release tag in version control.
Deploy Level A or AA Non-Compliant Features
Project managers SHOULD NOT approve product deployments containing known Level A or Level AA violations on the assumption of post-launch remediation.
5.2 Accessibility Statement & Barrier Feedback
Transparency and accessible communication channels ensure that individuals who encounter obstacles can immediately reach responsible engineering teams.
Accessible Feedback Channel & SLA Commitment
Web platforms MUST provide a prominent Accessibility Statement link in the site footer linking to a page detailing conformance status, contact coordinates (email and phone), and a commitment to respond to reported accessibility barriers within 2 business days.
CAPTCHA Barriers on Barrier Reporting Forms
Accessibility feedback and contact submission forms MUST NOT use visual puzzle CAPTCHAs (such as distorted image puzzles or audio challenges that fail contrast standards) without accessible alternatives.
Offer Multiple Communication Modalities
Support coordinates SHOULD offer email, web form, and telephone options with Canadian Telecommunications Relay Service (TRS) compatibility.
Vague or Generic Conformance Claims
Statements SHOULD NOT make unverifiable claims like "our site is 100% accessible" without documenting testing dates, evaluated environments, and specific guidelines met.
5.3 Automated & Assistive Tech Auditing Protocol
Reliable accessibility cannot be achieved through guesswork. Engineering practices require structured, repeatable testing matrices combining automated tooling with authentic assistive tech validation.
Tri-Partite Testing Verification Matrix
Every major template release MUST be validated across three testing tiers: automated static analysis (axe-core / Lighthouse score ≥ 98), 100% keyboard-only traversal without mouse touch, and manual screen reader verification using at least one desktop and one mobile screen reader (NVDA on Windows and VoiceOver on iOS/macOS).
Exclusive Reliance on Automated Scanners
Teams MUST NOT sign off on accessibility compliance based solely on automated testing scores. Automated tools detect at most 30% to 40% of WCAG success criteria and cannot verify cognitive clarity, logical tab flow, or meaningful image descriptions.
Automate CI/CD Regression Tests
Teams SHOULD integrate headless axe-core or Pa11y CLI audits into continuous integration build pipelines to block regressions before merge.
Audit Solely on 4K Desktop Monitors
Auditors SHOULD NOT conduct testing exclusively on expansive desktop displays; always verify interfaces at 320px viewport widths and with high contrast operating system settings engaged.