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

Double narrating group label when entering with Tab key in virtual cursor mode #806

Open adamsamec opened 5 months ago

adamsamec commented 5 months ago

Summary

For an element with the role="group" attribute and the group label provided either via aria-label or aria-labelledby, when navigated into such group in the virtual cursor mode using the Tab key to focus a button inside the group, the group label is narrated twice in succession.

The example code is below:

<button>Start here</button>

<div role="group" aria-labelledby="message">
  <p id="message">This referenced text will be narrated twice upon group entering.</p>
  <button>Submit</button>
</div>

Steps to reproduce

  1. Visit the example page.
  2. Turn on the virtual cursor mode. 3 . Navigate to the "Start here" button.
  3. Press the Tab key to navigate to the "Submit" button.
  4. Listen to the JAWS narration.

Expected result

JAWS should narrate: "This referenced text will be narrated twice upon group entering. group" only once.

Actual result

JAWS instead narrates: "This referenced text will be narrated twice upon group entering. group. This referenced text will be narrated twice upon group entering. group".

Example

Example is here.

Additional comments

JAWS version and build number

JAWS 2023.2307.37.

Operating System and version

Windows 11.

Browser and version:

The issue has been observed in Google Chrome, Microsoft Edge and Firefox, but it probably occurs in other web browsers as well.