Web platform

Accessible form

An accessible form gives controls meaningful labels, supports keyboard use, and exposes feedback without relying only on color.

Ask the Web platform assistant 1 min read · Updated September 9, 2026

What it is

An accessible form gives controls meaningful labels, supports keyboard use, and exposes feedback without relying only on color.

Why it matters

A visible placeholder disappears as someone types; a programmatic label remains available to assistive technology.

Example

A chat composer has a labeled textarea, a named Send button, and a polite live region for completed answers.

Technical detail

Use native form controls first. Enter-to-send logic must respect IME composition and preserve Shift+Enter for multiline input.

When to use it

Check focus visibility, touch targets, zoom, and errors with the actual interaction rather than only auditing markup.

Go deeper

Sources

More in Web platform

Assembled from the ReLU.chat curated knowledge base. These explanations are concise on purpose; check the sources for anything important.