Bug 242768

Summary: AX: AccessibilityTable::isDataTable() returns false unexpectedly when a column contains radio buttons
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andresg_22, mfairchild365, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

James Craig
Reported 2022-07-14 14:43:25 PDT
Report that AccessibilityTable::isDataTable() returns false unexpectedly when a column contains radio buttons. https://github.com/WebKit/webkit/blob/main/Source/WebCore/accessibility/AccessibilityTable.cpp#L111 Test Case demonstrating the behavior. https://codepen.io/mfairchild365/full/oNqYwLK Context of bug report: https://twitter.com/mfairchild365/status/1547601825070600194
Attachments
Radar WebKit Bug Importer
Comment 1 2022-07-14 14:43:34 PDT
James Craig
Comment 2 2022-07-14 14:45:04 PDT
Speculation: Possibly because the column has no header? I wonder whether the same is true of checkboxes in the same scenario, or when the radio is in the same cell as its label.
mfairchild365
Comment 3 2022-07-15 05:49:00 PDT
I worked up some more examples and James Craig is right. This has nothing to do with the radio buttons. It has everything to do with the fact that the first column does not have a header. I'd still consider this to be a bug because the rest of the columns DO have headers and it is a data table.
Note You need to log in before you can comment on or make changes to this bug.