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 does not support `aria-label` in combination with `role='form'` on `div` #748

Closed xmicore closed 10 months ago

xmicore commented 10 months ago

Summary

A div element described by the attribute aria-label in combination with role='form' is not announced.

The W3C list aria-label under Inherited States and Properties: https://w3c.github.io/aria/#form

MDN show the scenario as the first code snippet on the reference for ARIA form role: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/form_role

<div role="form" id="contact-info" aria-label="Contact information">
  <!-- form content -->
</div>

Expected result

The div is announced by the value of aria-label.

Actual result

JAWS announce only the content of the div element.

Example

https://codepen.io/xmicore/pen/MWZKdQm

Additional Information

JAWS version and build number

JAWS Prefessional Edition 2021.2012.48 ILM

Operating System and version

Windwos 10

Browser and version:

Google Chrome 116.0.5845.111 Mozilla Firefox 102.14.0esr

stevefaulkner commented 10 months ago

tested with JAWS 2023.2307.37 and Chrome Version 116.0.5845.112 (Official Build) (64-bit) using this test case https://codepen.io/stevef/pen/mdaPjvr

aria-label content announced and form region recognised/announced

xmicore commented 10 months ago

@stevefaulkner Can you test the issue with Firefox?

stevefaulkner commented 10 months ago

@stevefaulkner Can you test the issue with Firefox?

works fine in Firefox 117.0 (64-bit)