FreedomScientific / standards-support

Contains documentation for Vispero software support of Web standards
https://freedomscientific.github.io/standards-support/
GNU General Public License v3.0
109 stars 11 forks source link

Links within labels are not recognized by JAWS (Firefox) #455

Open JAWS-test opened 3 years ago

JAWS-test commented 3 years ago

Summary

  1. Go to https://codepen.io/jaws-test/pen/MWeYwxx
  2. Tab to the link
  3. Activate the link

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

frex65 commented 3 years ago

JAWS bug confirmed using JAWS 2021.2012.48 with Firefox 83. Also confirmed this bug is not present in latest versions of Chrome, Edge or IE.