Bug 136689 - AX: aria-labelledby is not honoring sub-node text
Summary: AX: aria-labelledby is not honoring sub-node text
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: chris fleizach
URL:
Keywords: InRadar
Depends on:
Blocks: 136714
  Show dependency treegraph
 
Reported: 2014-09-09 17:55 PDT by chris fleizach
Modified: 2014-09-10 14:24 PDT (History)
9 users (show)

See Also:


Attachments
patch (4.06 KB, patch)
2014-09-09 18:00 PDT, chris fleizach
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chris fleizach 2014-09-09 17:55:15 PDT
If something is labelled by a group of elements, and some of those elements are contained in sub-nodes, then all the text is not concatenated.

<rdar://problem/17955424>
Comment 1 chris fleizach 2014-09-09 18:00:05 PDT
Created attachment 237874 [details]
patch
Comment 2 WebKit Commit Bot 2014-09-10 07:47:11 PDT
Comment on attachment 237874 [details]
patch

Clearing flags on attachment: 237874

Committed r173459: <http://trac.webkit.org/changeset/173459>
Comment 3 WebKit Commit Bot 2014-09-10 07:47:15 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 James Craig 2014-09-10 13:51:58 PDT
These test cases are wrong. Generic groups (like your a and b divs) should not traverse their contents to calculate an accessible name. This is going to regress from some things.

I'd recommend rolling this out and let me give you more robust test examples.
Comment 5 James Craig 2014-09-10 13:52:58 PDT
Actually we can probably just patch it rather than rolling it out. I'll clone.
Comment 6 James Craig 2014-09-10 14:06:04 PDT
bug 136689
Comment 7 James Craig 2014-09-10 14:06:31 PDT
whoops, bug 136714
Comment 8 chris fleizach 2014-09-10 14:24:28 PDT
(In reply to comment #4)
> These test cases are wrong. Generic groups (like your a and b divs) should not traverse their contents to calculate an accessible name. This is going to regress from some things.
> 
> I'd recommend rolling this out and let me give you more robust test examples.

What spec are you referring to? This returns current behavior to what it used to do. 

We used to gather all the textUnderElement(). The fix was to restore that behavior