Skip to content

Extract a shared form-field pattern for labels and errors #347

Description

@Abidoyesimze

Summary

Forms duplicate label, hint, error, and aria-describedby wiring.

Affected files

  • src/app/(auth)/signup/page.tsx
  • src/components/help/SupportForm.tsx
  • src/components/ui/FormErrors.tsx

Tasks

  • Create or extend a shared FormField (or similar) primitive.
  • Migrate signup and support forms to use it.
  • Ensure errors are announced correctly to assistive tech.

Acceptance criteria

  • Scope is limited to the files listed (or agreed alternatives in the PR).
  • Change is verifiable: tests, screenshots, or written QA steps in the PR.
  • No behavior regressions in related user flows.
  • No new duplicate abstractions without a one-line rationale in the PR.

Suggested labels

cleanup, a11y, refactor

Notes

Standalone cleanup issue from CLEANUP_ISSUES_2026-05.md. Complements the audit queue and product backlog.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions