[Webkit-unassigned] [Bug 255812] New: AX: reconcile aria-describedby and aria-description in WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 21 14:55:19 PDT 2023


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

            Bug ID: 255812
           Summary: AX: reconcile aria-describedby and aria-description in
                    WebKit
           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: jcraig at apple.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

aria-describedby was the only way in ARIA 1.0, 1.1, and 1.2 to provide an extended description, which WebKit does through AXHelp, the platform tooltip attribute that is also used to expose the title attribute when it is not used to compute the fallback label as part of accname.

aria-description was added in ARIA 1.3 and implemented using AXCustomContent.

This results in a few problems:

1. Long-standing bug: aria-describedby always overwrites the tooltip title in AXHelp.
2. Recent bug: if both aria-description and aria-describedby are used, two different extended descriptions are exposed, rather than aria-describedby overwriting aria-description. (Caveat below *)
3. Recent bug: aria-describedby value (as AXHelp) is spoken by default (expected) but aria-description (as AXCustomContent with default important) is not.


I think the resolution should be:

1. Reconcile a single extended description from aria-describedby and aria-description giving precedent to aria-describedby. (Caveat below *)
2. Change the imortance to AXCustomContentImportanceHigh so it's spoken by default.
3. Keep the tooltip title exposed as AXHelp, unless it has already been used to computed the label (AccName fallback https://w3c.github.io/accname/#comp_tooltip )


* Caveat from above: this extended description precedence order is not actually in the AccName spec yet (which is behind the ARIA spec), but will be soon with https://github.com/w3c/accname/issues/68

-- 
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/20230421/b60ebf35/attachment.htm>


More information about the webkit-unassigned mailing list