Skip to content

🟠 [RGAA 11.10] Input validation issues #611

@jbpenrath

Description

@jbpenrath

Bug Report

Problematic behavior
Across multiple forms:

  • Required fields are not indicated to users
  • Error messages are not programmatically linked to their respective fields
  • Some error messages lack actionable information (e.g. the email field on the import page does not show expected format on error)

Expected behavior/code
Required fields must be clearly indicated. Error messages must be linked to fields via aria-describedby and provide actionable guidance including examples.

Steps to Reproduce

  1. Submit the label name form with an empty required field — no indication that the field is required
  2. Trigger a validation error — error message is not announced by screen reader
  3. On the import page, enter an invalid email — error does not indicate expected format

Environment

  • RGAA Criterion: 11.10
  • Severity: 🟠 Major

Possible Solution

  • Indicate required fields in <label> text or via introductory text (e.g. "* Required fields")
  • Link error messages to fields via aria-describedby pointing to the error's id
  • Import page email error → "Invalid email address. Example: j.doe@gmail.com"

Additional context/Screenshots
RGAA reference: Criterion 11.10

Metadata

Metadata

Assignees

Labels

a11yIssues related to accessiblity

Type

No type
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