Bug 231760 - AX: checkboxes don't respect `indeterminate` IDL attribute state
Summary: AX: checkboxes don't respect `indeterminate` IDL attribute state
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 15
Hardware: All All
: P2 Normal
Assignee: Tyler Wilcock
URL: https://scottaohara.github.io/tests/a...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-14 12:39 PDT by Scott
Modified: 2022-12-23 16:56 PST (History)
18 users (show)

See Also:


Attachments
Patch (19.25 KB, patch)
2022-12-23 11:48 PST, Tyler Wilcock
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2021-10-14 12:39:46 PDT
There appears to have been a regression in the support for a native HTML checkbox's indeterminate IDL attribute, as recent testing has shown that it is returning the unchecked value (0) rather than the mixed value (2) when specified.

Test case: https://scottaohara.github.io/tests/attr-indeterminate/

Reviewing with the accessibility checker, the native checkboxes are returning a value of 0 when given the indeterminate IDL attribute.  

I found these previous issues which reported on this bug, and were closed as fixed (hence assuming this is a regression). I am linking to them here in hopes that they might be somehow helpful in fixing this new instance of the mixed state not being properly exposed.

https://bugs.webkit.org/show_bug.cgi?id=158876
https://bugs.webkit.org/show_bug.cgi?id=134492

Thanks
Comment 1 Radar WebKit Bug Importer 2021-10-14 12:39:56 PDT
<rdar://problem/84269311>
Comment 2 Tyler Wilcock 2022-12-23 11:48:56 PST
Created attachment 464184 [details]
Patch
Comment 3 EWS 2022-12-23 16:56:08 PST
Committed 258314@main (4160624d7f96): <https://commits.webkit.org/258314@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 464184 [details].