You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"if a form is submitted where the application expects the user to have entered data, but the user did not do so, then the lack of data (empty values) are not meeting the format expected by the application."
Suggestion for change
Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.
to
Indicates the value does not conform to the format expected by the application. See related aria-errormessage.
Thanks.
Link to the version of the specification or documentation you were looking at
@LaurenceRLewis there is this part of the definition though that adds nuance to “entered”. Removing the word entered would imply that all empty fields should be marked invalid by default. And no one wants that
“When the user attempts to submit data involving a field for which aria-required is true, authors MAY use the aria-invalid attribute to signal there is an error. However, if the user has not attempted to submit the form, authors SHOULD NOT set the aria-invalid attribute on required widgets simply because the user has not yet entered data.”
Describe the change
Based on a question I asked in WCAG Github issues, Technique ARIA21 aria-invalid for required fields that have no input vs ARIA aria-invalid spec #3933
Change the sentence in the ARIA specification for aria-invalid to remove the word 'entered' in the following sentence .
"Indicates the entered value does not conform to the format expected by the application. "
I misinterpreted this to indicate it is only an entered value that is used to determine the invalid state. Whereas Scott has suggested in the other discussion Technique ARIA21 aria-invalid for required fields that have no input vs ARIA aria-invalid spec #3933 that this also includes empty fields.
"if a form is submitted where the application expects the user to have entered data, but the user did not do so, then the lack of data (empty values) are not meeting the format expected by the application."
Suggestion for change
Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.
to
Indicates the value does not conform to the format expected by the application. See related aria-errormessage.
Thanks.
Link to the version of the specification or documentation you were looking at
ARIA 1.2 : aria-invalid
Does the issue exists in the editors draft (the editors draft is the most recent draft of the specification)? YES
The text was updated successfully, but these errors were encountered: