the link is not recognized; instead, JAWS outputs the previously focused element
the link cannot be operated, instead the previously focused element is operated
The problem does not occur in other browsers.
The problem occurs only with checkboxes and radio buttons, not with other form fields
The problem does not occur if an enclosing label is used instead of label for.
The problem does not occur if the label is located before the checkbox or radio button.
It is not a Firefox problem because the link information is correctly passed to the Accessibility API.
In my opinion, the problem has to do with the fact that for checkboxes and radio buttons, JAWS does not perceive the label as independent, but as part of the form element. For all other form elements, the label is output separately, but not for radio buttons and checkboxes (see https://github.com/FreedomScientific/VFO-standards-support/issues/305 and https://github.com/FreedomScientific/VFO-standards-support/issues/248).
The problem does not occur with NVDA.
Links in labels are common, e.g. checkboxes at the end of forms to confirm that you accept the terms and conditions and privacy policy.
Note: According to HTML specification a link is allowed in the label.
Summary
Expected result
Link is recognized as link and can be operated
Actual result (only in Firefox)
The problem does not occur in other browsers. The problem occurs only with checkboxes and radio buttons, not with other form fields The problem does not occur if an enclosing label is used instead of
label for
. The problem does not occur if the label is located before the checkbox or radio button. It is not a Firefox problem because the link information is correctly passed to the Accessibility API. In my opinion, the problem has to do with the fact that for checkboxes and radio buttons, JAWS does not perceive the label as independent, but as part of the form element. For all other form elements, the label is output separately, but not for radio buttons and checkboxes (see https://github.com/FreedomScientific/VFO-standards-support/issues/305 and https://github.com/FreedomScientific/VFO-standards-support/issues/248). The problem does not occur with NVDA. Links in labels are common, e.g. checkboxes at the end of forms to confirm that you accept the terms and conditions and privacy policy. Note: According to HTML specification a link is allowed in the label.Additional Information
JAWS version and build number
JAWS 2020.2008
Operating System and version
Windows 10
Browser and version:
Firefox 78.3.1 ESR