Bug 256302 - AX: aria-describedby not announced with role=radiogroup
Summary: AX: aria-describedby not announced with role=radiogroup
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-04 06:29 PDT by diegocardoso
Modified: 2023-05-04 06:29 PDT (History)
2 users (show)

See Also:


Attachments
role=radiogroup with aria-describedby example (782 bytes, text/html)
2023-05-04 06:29 PDT, diegocardoso
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description diegocardoso 2023-05-04 06:29:11 PDT
Created attachment 466205 [details]
role=radiogroup with aria-describedby example

Consider an element with role=radiogroup and that defines aria-label and aria-describedby, and has a list of input[type=radio].

In Safari, once the focus lands on the first input, then VO gives this announcement:

> <label of the input>, radio button, 1 of X, <aria-label value of the group>, radio group

The value of `aria-describeby` is ignored by VO.

In comparison, this is how NVDA and JAWS announce the same elements in Edge:

- NVDA
> <aria-label value of the group> grouping <aria-describedby of the group>
> <label of the input> radio button not checked 1 of X

- JAWS
> <aria-label value of the group> group - <aria-describedby of the group>
> <label of the input> radio button - not checked - 
> 1 of X

It can be verified in the codepen example slightly modified taken from the WAI ARIA example section of Radio Group Pattern page:
https://codepen.io/diegocardoso/pen/OJBxEvX

Also added a smaller example where the issue can be reproduced.
Comment 1 Radar WebKit Bug Importer 2023-05-04 06:29:25 PDT
<rdar://problem/108889995>