WebCraft Guides

Accessibility Guide

Building inclusive digital experiences benefits everyone. This guide covers core principles, practical techniques, and tools to make your websites perceivable, operable, understandable, and robust.

Four Core Principles (WCAG)

  1. Perceivable: Provide text alternatives, captions, and sufficient contrast.
  2. Operable: Ensure all functionality is keyboard‑accessible and give users enough time.
  3. Understandable: Use clear language, predictable navigation, and help users avoid errors.
  4. Robust: Write semantic HTML so assistive technologies can reliably interpret content.

Semantic HTML & ARIA

Use native elements whenever possible. Add ARIA attributes only when native semantics fall short.

<button aria-expanded="false">Show details</button>
<section aria-labelledby="details-heading">
  <h2 id="details-heading">Details</h2>
  …
</section>

Color & Contrast

Maintain a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text.

Example of sufficient contrast

Keyboard Navigation

All interactive elements must be reachable via Tab and operable with Enter / Space. Provide a visible focus indicator.

Tools & Resources