[Webkit-unassigned] [Bug 258548] New: AX: aria-required is not ignored if equivalent HTML attribute is present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 26 21:36:12 PDT 2023


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

            Bug ID: 258548
           Summary: AX: aria-required is not ignored if equivalent HTML
                    attribute is present
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hs85jeong at gmail.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

If the equivalent HTML attribute is present, ARIA attribute should be ignored as defined in the standard(see https://www.w3.org/TR/wai-aria-1.2/#usage and https://www.w3.org/TR/core-aam-1.2/#mapping_conflicts: "When a host language declares a WAI-ARIA attribute to be in direct semantic conflict with a native attribute for a given element, user agents MUST ignore the WAI-ARIA attribute and instead use the host language attribute with the same implicit semantic.")

Spec https://www.w3.org/TR/html-aam-1.0/#att-required, 'If the element includes both the required attribute and the aria-required attribute with a valid value, User Agents MUST expose only the required attribute value.'

Example code:
<input type="text" required aria-required="false">

How to check the value:
Inspector -> Elements -> Node -> Accessibility -> Required

Expected:
Required is Yes

Actual:
Required is No

-- 
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/20230627/75a9ad3e/attachment-0001.htm>


More information about the webkit-unassigned mailing list