diff --git a/understanding/20/error-identification.html b/understanding/20/error-identification.html index 538effccc4..754f336ad4 100644 --- a/understanding/20/error-identification.html +++ b/understanding/20/error-identification.html @@ -47,7 +47,24 @@

Intent of Error Identification

  • the user enters alphabetic characters or parentheses into their phone number field that only accepts numbers;
  • the user enters a bid that is below the previous bid or the minimum bid increment.
  • - +

    Note on using native HTML form validation

    +

    With native HTML form validation, the use of the required attribute on a field has the consequence that + when trying to submit the form with this field empty, the user agent will automatically display a generic error message that a value + in the field is required, and set the focus to the first field missing required input. + The user agent will generally also scroll the page so that the field in error and the generated error message will be visible in the viewport.

    +

    In most common user agent and screen reader combinations, the screen reader will read the generic error message + and the programmatic name of the required field. + While this in principle meets the requirements of this Success Criterion, + it should be noted that there are several disadvantages related to this approach:

    +

    If a user enters a value that is too high or too low, and the coding on the page automatically changes that value to fall within the allowed range, the user's error would still