Issue 205
bug: Contact form fields: half-width fields never share a row, and errors are silent to screen readers
Back to our planDone
bugfrontenduxpriority: medium
Type
bug
Summary
On the form-builder form, half-width fields stack instead of pairing up, and field errors aren't announced.
Problem
src/blocks/Form/Width/index.tsx:9: half-width fields never share a row, and stay half width on phones.src/blocks/Form/Error/index.tsx:11: norole,aria-describedbyoraria-invalid.
Found while taking the UI inventory (https://github.com/boulaajaj/sprecher-east-neighborhood-website/blob/main/docs/ui/evidence.md#bugs-found-while-taking-the-inventory, opens in a new tab, #170).
Proposed fix
Fix it in the shared form components planned in #163 (Field, Form in docs/ui/component-set.md): full width on phones, pairs from sm, and errors tied to their field with aria-describedby and aria-invalid.
Acceptance criteria
- Not done: Two half-width fields share a row from 640 px and stack below it.
- Not done: A screen reader announces each field error, and the field is marked invalid.
Depends on
#163 (shared components), after the owner approves the set.
Area
frontend, ux
Priority
priority: medium
Generated by Claude Code, opens in a new tab