Skip to content

useForm field error prop, accessibility concerns #124

Description

@staydecent

Thanks to @adriaanwm for bringing this up.

  1. Should we default to title for the error prop?
  2. If we are setting title on a field, should we mention the field name so it's descriptive for screenreaders?
  3. Are we better off using a non-html attribute name by default (ie. error)

Possible resources:
https://webaim.org/techniques/forms/controls
https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions