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>
Created attachment 237874 [details] patch
Comment on attachment 237874 [details] patch Clearing flags on attachment: 237874 Committed r173459: <http://trac.webkit.org/changeset/173459>
All reviewed patches have been landed. Closing bug.
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.
Actually we can probably just patch it rather than rolling it out. I'll clone.
bug 136689
whoops, bug 136714
(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