Closed tronguye closed 1 year ago
The parent is a div and a div must not be labeled (https://www.w3.org/TR/wai-aria-1.2/#generic). So I see no bug here
@JAWS-test I've updated the codepen to add role='region'
to the div. There still is no narration when I would expect it to narrate a region label
The problem has nothing to do with the iframe and the textbox.
The problem occurs with all landmark regions: when they receive focus, JAWS outputs either the previously focused element (if the region is empty) or the region's text content. This is indeed a bug.
However, regions should not receive keyboard focus because they are not controls. JAWS automatically outputs the region's label upon entering the region (e.g., TAB on an item in the region).
Summary
Expected result
JAWS narrates the label of the focused element
Actual result
JAWS is silent
Example
https://codepen.io/tronguye/pen/rNqexWM
Additional Information
JAWS version and build number
JAWS Job Access With Speech Professional Edition Version 2023.2210.29 ILM
Operating System and version
Windows 10 Enterprise Version 22H2
Browser and version:
Microsoft Edge Version 110.0.1587.69 (Official Build) (64-bit)