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 @@
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:
+type="text"
will be unspecific, i.e. they will not provide helpful suggestions where these may be neededIf 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