Bug 133390

Summary: AX: Win: WebKit exposes some hidden contents as label on Windows
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: Windows 8   
Attachments:
Description Flags
test case none

Description James Craig 2014-05-29 15:17:04 PDT
Created attachment 232265 [details]
test case

AX: Win: WebKit exposes some hidden contents as label on Windows

See attached test case. All buttons should expose the label "foo", even the ones that visibly render "foo bar" in text. Bryan Garaventa reports these two are failing.

* WebKit and UIA do not match: "foo, button" on WebKit, "foo bar, button" on UIA
<div role="button"> foo <span aria-hidden="true"> bar </span> </div>

* WebKit and UIA do not match: "foo, button" on WebKit, "foo bar, button" on UIA
<button> foo <span aria-hidden="true"> bar </span> </button>

Works as expected in AX API and VoiceOver on OS X.
Comment 1 Radar WebKit Bug Importer 2014-05-29 15:18:24 PDT
<rdar://problem/17071169>