[Webkit-unassigned] [Bug 229415] New: AX: Return radiobuttons part of ad-hoc radiogroups from AX search queries

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 23 12:26:18 PDT 2021


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

            Bug ID: 229415
           Summary: AX: Return radiobuttons part of ad-hoc radiogroups
                    from AX search queries
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tyler_w at apple.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Per WAI-ARIA authoring best practices, radiobuttons should always be wrapped in a `role="radiogroup"` container.

https://www.w3.org/TR/wai-aria-practices-1.2/#wai-aria-roles-states-and-properties-16

> “The radio buttons are contained in or owned by an element with role radiogroup.”

However, many real-world documents don't do this, instead forming "ad-hoc" radiogroups by connecting individual radiobuttons by `name` attribute (which is allowed by HTML):

<form>
<input type="radio" name="color” value="red">Red</br>
<input type="radio" name="color” value="blue">Blue</br>
</form>

<form>
<input type="radio" name="size” value="small">Small</br>
<input type="radio" name="size” value="large">Large</br>
</form>

When searching by AXRadioGroupSearchKey, WebKit currently cannot find these ad-hoc radiogroups. With this bug, we should make WebKit able to find them.

rdar://38830789

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210823/282dbc11/attachment-0001.htm>


More information about the webkit-unassigned mailing list