[Webkit-unassigned] [Bug 157187] New: AX: [ATK] Layout tests related to text alternative computation need to be done differently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 29 10:21:58 PDT 2016


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

            Bug ID: 157187
           Summary: AX: [ATK] Layout tests related to text alternative
                    computation need to be done differently
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jdiggs at igalia.com
                CC: webkit-bug-importer at group.apple.com

The "Accessible Name and Description: Computation and API Mappings 1.1" spec [1] describes how the "name" and "description" are mapped on the various platforms we support [2]. The simplified version of the most-typical [3] cases are:

       Spec            Platform        Layout Test
       ----         --------------    -------------
AXAPI  name         AXDescription     AXDescription
       description  AXHelp            AXHelp
ATK    name         name              AXTitle
       description  description       AXDescription

If that were not confusing enough, even though ATK has no such property or concept of "help text," WebKitTestRunner exposes descriptions which originate from ATK_RELATION_DESCRIBED_BY though AXHelp as a string (and thus duplicates what is in AXDescription) rather than a list of pointers to elements (which is what the AtkRelation provides).

We have a number of failing tests -- and a number of ATK implementation bugs -- related to this confusion. In the former case, gardeners have filed one bug per failure. We also have at least a few cases where what a cross-platform test should be testing is not actually what it's testing (e.g. testing the spec "name" via "AXDescription").

The purpose of this bug here is to gather all the failures in a single place, fix the alternative text calculation bugs in ATK, and when appropriate tweak the cross-platform tests to be more cross-platform friendly (e.g. just always dump AXTitle, AXDescription, and AXHelp and have platform-specific expectations).

[1] https://w3c.github.io/aria/accname-aam/accname-aam.html
[2] https://w3c.github.io/aria/accname-aam/accname-aam.html#accessible-name-and-description-mapping
[3] In some cases in AXAPI, e.g. certain widgets, spec "name" maps to AXTitle

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160429/9f8c086a/attachment-0001.html>


More information about the webkit-unassigned mailing list