Open jake-abma opened 3 years ago
QUESTION: This IS "the error is described to the user in text" BUT is "the item that is in error is identified to the user in text"?
arguably, the item that is in error is identified in text by the fact that the error message appears next/underneath it, thus identifying it as having an error (don't think the wording means that the text must explicitly use words to say "this field name [NAME] is in error"
QUESTION: This IS "the item that is in error is identified" BUT NOT "the error is described to the user in text"!
yeah this butts up against what/how specific the "description" needs to be. I think I tried to make a start tackling this prickly handwavy topic (and how it overlaps with 3.3.3) in https://github.com/w3c/wcag/pull/1651
arguably, the item that is in error is identified in text by the fact that the error message appears next/underneath it, thus identifying it as having an error (don't think the wording means that the text must explicitly use words to say "this field name [NAME] is in error"
I kind of agree, but the "AND" word suggests / means it's 2 things to do, it does not says:
the item that is in error is identified by describing to the user in text.
We often do a lot of hard work with SC wording to make sure the 'and' is really 2 things, but not now... when we discuss this in training people are confused... even I am, although we all get the intent...
It says it's two things, because they are. They can be satisfied separately. If you added just the extra word "Error" next to the field (to identify it) and then somewhere else on the form (e.g. in a block right at the start of the form) had text that said "The [BLAH] field has been left empty" to describe the error, you've passed the SC as well. i.e. the indication and description can, but don't have to, be the same text. (yes, ideally you'd link the two in that case somehow...but that's more usability and not a hard requirement of this SC, i'd say)
sound logical, and agree, but isn't "required" for a field not the same, but in other words, as: "Ingredients must not be empty"?
But in this case, 'because you mention it extra / again / in other words', it counts as saying "describe the error in text" ... ?
it's also the proximity here that counts. even if the error message was just "this field must not be empty", the fact that it's near it "indicates" that it refers to that. as in you don't necessarily need to make the error message make complete sense in utter isolation. still evaluating it in the context of where it is - "the item that is in error is identified (by having that error appear right after it)"
sound logical, and agree, but isn't "required" for a field not the same
but that word "Required" is already there even when not in error. so you're not really indicating anything (unless you want to pass it for indicating, and then failing it under use of color for yes indicating the error, but just relying on color for that)
I know, but that is not what I mean, I meant that it basically says the same, but in other words... (not talking about the color) and it just repeats... it does not provide extra description
fourth bullet point of my proposed PR https://github.com/w3c/wcag/pull/1651
add allowance for situations where an error indication is already self-explanatory/obvious from context (e.g. a form where fields have already explicitly been identified as mandatory/required - not necessary for compliance to now ALSO explicitly say "as we already told you, this field is mandatory")
Back on this problem with the following:
Is what @JAWS-test wrote correct? and are 3.3.1 both statements for TEXT?
https://github.com/w3c/wcag/issues/1774#issuecomment-830508435
If so I have two examples which boggle the mind!
Example 1 from Deque Demo pages: https://broken--deque-workshop.netlify.app/
QUESTION: This IS "the error is described to the user in text" BUT is "the item that is in error is identified to the user in text"?
Required was there already, the text doesn't say 'error' or alike, red is not 'text', and the "aria-invalid="true" doesn't count... so is it a FAIL?
Only 50% of the SC is done properly?
Example 2 from Deque Demo pages: https://broken--deque-workshop.netlify.app/
QUESTION: This IS "the item that is in error is identified" BUT NOT "the error is described to the user in text"!
So exactly the opposite of the previous example. !!!
Will this FAIL? because not described? Only 50% of the SC is done properly?