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
On forms which may be potentially long, we have a Search (submit) button at the top and bottom of the form. See sample code below (just one field is used for the reproduction). ARC Toolkit returns a "Duplicate labels used" error.
I'm guessing this check is to protect against the inadvertent use of the same label to execute different functions, but it doesn't allow for the deliberate case where functionality is duplicated. Obviously it's not possible for ARC to determine whether the two buttons have the same functionality or not, but I'd expect more of an advisory finding than an error.
Perhaps "set of web pages" does not technically include my scenario but it doesn't seem that different in practice. Two controls, same functionality, identified consistently.
To Reproduce
<!DOCTYPE html>
<html lang="en">
<head><title>duplicate label test</title></head>
<body>
<form>
<input type="submit" value="Search" />
<label for="criteria1">First Name</label>
<input id="criteria1" name="criteria1" type="text" value="" />
... many more possible criteria fields here ...
<input type="submit" value="Search" />
</form>
</body>
</html>
Expected behavior
A warning about duplicate labels, not an error.
Version information
Browser and version: Chrome 112.0.5615.137, OSX 13.3.1
ARC Toolkit version: 5.5.3
Thank you!
Edit: wrap sample code in a code block.
The text was updated successfully, but these errors were encountered:
Describe the bug
On forms which may be potentially long, we have a Search (submit) button at the top and bottom of the form. See sample code below (just one field is used for the reproduction). ARC Toolkit returns a "Duplicate labels used" error.
I'm guessing this check is to protect against the inadvertent use of the same label to execute different functions, but it doesn't allow for the deliberate case where functionality is duplicated. Obviously it's not possible for ARC to determine whether the two buttons have the same functionality or not, but I'd expect more of an advisory finding than an error.
From https://www.w3.org/TR/WCAG22/#consistent-identification:
Perhaps "set of web pages" does not technically include my scenario but it doesn't seem that different in practice. Two controls, same functionality, identified consistently.
To Reproduce
Expected behavior
A warning about duplicate labels, not an error.
Version information
Thank you!
Edit: wrap sample code in a code block.
The text was updated successfully, but these errors were encountered: