Skip to content

Commit

Permalink
Merge pull request #3641 from department-of-veterans-affairs/acrollet…
Browse files Browse the repository at this point in the history
…-patch-1

Fix typo in error handling docs
  • Loading branch information
danbrady authored Dec 19, 2024
2 parents 1e1e4b1 + f601c7a commit aa2dab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_includes/components/label-errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
* The form field and its corresponding `<label>` are wrapped in a container which provides a thick border and padding to visual indicate an error message to users who might have difficulty perceiving contrast. It also changes the border of the input to red as a secondary indicator.
* An error message is placed between the label and the form field.
* The form field receives an `aria-describedby` attribute that references the `id` of the error message.
* Prepending `<span class="sr-only">Error</span>` to error messages alerts screen screen readers clearly that an error exists.
* Prepending `<span class="sr-only">Error</span>` to error messages alerts screen readers clearly that an error exists.

<a class="vads-c-action-link--blue" href="{{ site.baseurl }}/patterns/help-users-to/recover-from-errors">Review the help users to recover from errors pattern</a>

0 comments on commit aa2dab9

Please sign in to comment.