FreedomScientific / standards-support

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

JAWS announces input with aria-label twice. #781

Closed bdglide closed 7 months ago

bdglide commented 7 months ago

Summary

JAWS virtual cursor announces <input> elements twice if they have an aria-label, once in browse mode, once in forms mode.

  1. Open https://codepen.io/bdglide/pen/GRzOgbV
  2. Navigate to "Please fill out the form" with virtual cursor.
  3. Press DOWN, note it reads "First Name" and highlights the field in browse mode.
  4. Press DOWN again, note it reads "First Name Edit" and enters forms mode on the field.

Expected result

Reads input field with aria-label once only, in forms mode.

Actual result

Reads field with aria-label twice, once in browse mode, once in forms mode.

Example

https://codepen.io/bdglide/pen/GRzOgbV

Additional Information

JAWS version and build number

JAWS 2023.2307.37

Operating System and version

Microsoft Windows 11 Pro v 10.0.22621 Build 22621

Browser and version:

Google Chrome Version 118.0.5993.120

JAWS-test commented 7 months ago

This has nothing to do with aria-label, but applies to any form of labelling. I.e. it occurs with

Not only the label is output 2 or 3 times, but all information about the field

The problem only occurs with input fields. The cause is the automatic mode change from reading mode to forms mode.

JAWS-test commented 7 months ago

The problem does not occur with NVDA because NVDA does not automatically switch modes. However, if I change the mode manually with NVDA, e.g. by pressing ENTER, the information on the field is also output again, so that the problem also occurs indirectly with NVDA.

stevefaulkner commented 7 months ago

I don't understand the issue, it is expected that the name of the control will be announced in virtual mode, then again once forms mode is enabled. closing as wontfix