Skip to content

app: terms-agreement error marks the Username field invalid #961

Open

Description

@bpowers

In the new-user dialog, pressing Enter without ticking the terms checkbox shows "Please agree to the Terms and Privacy Policy to continue", but it marks the Username field as the invalid one: red outline, aria-invalid, and aria-describedby pointing at the terms message.
A screen reader announces it as a username problem.
The error should be attached to the terms checkbox, and the Username field should only show username errors (empty, or rejected by the server).

Fix

Split the single errorMsg state into a username error and a terms error.
The username error drives the TextField's error and aria-describedby; the terms error renders next to the checkbox and is associated with it.

Pointers

  • src/app/NewUser.tsx (errorMsg, handleClose, the Username TextField)

Activity

  1. changed the title [-]app: NewUser marks the Username field invalid for the unrelated terms-agreement error[/-] [+]app: terms-agreement error marks the Username field invalid[/+] on Oct 12, 2026
  2. added
    frontend
    bug
    on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrontend

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions