Open rishi07 opened 2 years ago
I can confirm the bug. However, it only occurs if there is a <label>
element in front of the form field with aria-label (regardless of whether the <label>
is linked to the field's id via for or not). The logic of JAWS seems to be:
<label>
in front of it, then I output aria-label as Accessible Name.<label>
in front of it, then this will already be the Accessible Name (no matter if it actually is or not). since I output the <label>
anyway during linear reading, I don't need to output a Accessible Name at the form field anymore, because otherwise this would be a double output (which would be correct without aria-label).@JAWS-test Even in the case of no <label>
tag, it needs one extra arrow keystroke to move to the next element. First time it announces the aria-label and second time it announces 'edit blank'.
@rishi07
Even in the case of no label tag, it needs one extra arrow keystroke to move to the next element. First time it announces the aria-label and second time it announces 'edit blank'.
Yes, this is correct, but in my opinion is not a bug of JAWS, but the default behavior. For all form fields, except radio buttons and checkboxes, the label is always output in a separate reading step before the form field.
Summary
Expected result
Actual result
Additional Information
Operating System and version
Browser and version: