[Webkit-unassigned] [Bug 156774] AX: <svg> elements with labels and no accessible contents are exposed as empty AXGroups

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 28 14:09:10 PDT 2016


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

--- Comment #29 from James Craig <jcraig at apple.com> ---
(In reply to comment #27)
> James: I'm a little bit confused. You changed the summary to "AX: <svg>
> elements with labels are not exposed in the AX API". However, if you look at
> what I stated in comment #20, <svg> elements with labels ARE exposed in the
> AX API." (They just happen to be exposed with as AXGroup.)
> 
> Please clarify. Thanks!

Further clarifying the name:
AX: <svg> elements with labels and no accessible contents are exposed as empty AXGroups

(In reply to comment #28)
> I think James' idea is to expose the svg root as AXImage if it's labelled.
> Which we have already discussed before and the task force didn't like that.

If I'm reading the SVGATF comments correctly, they were talking about the ARIA group role, not the OS X AXGroup role. They are used differently.

It seems to me like most are in agreement that a labeled SVG with no accessible descendants can and should be exposed as an image on the platforms where empty generic groups are ignored by default. Joanie first proposed this, and I echoed it later independently (sorry for missing your first comment, Joanie)...

Also:
- If the SVG has accessible contents, one of the platform container roles should be used.
- If an image role with descendants also works, that is preferred.

So, on the OS X implementation:

- unlabeled SVG without accessible descendants will be ignored.
- labeled SVG without accessible descendants will be exposed as a labeled AXImage.
- unlabeled SVG with accessible descendants will have the descendants exposed directly.
- labeled SVG with accessible descendants will be exposed as an AXGroup (not equiv to role=group).

Is this a fair representation of the discussion across multiple bug trackers? Please correct me if I've missed some conflicting viewpoint. Thanks.

-- 
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/20160428/8655cd0c/attachment.html>


More information about the webkit-unassigned mailing list