Bug 134492

Summary: AX: HTML indeterminate IDL attribute not mapped to checkbox value=2
Product: WebKit Reporter: Steve Faulkner <faulkner.steve>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, ap, bunhere, cdumez, cfleizach, commit-queue, dmazzoni, gyuyoung.kim, jcraig, jdiggs, mario, munna1991vikram, samuel_white, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch none

Description Steve Faulkner 2014-07-01 09:02:02 PDT
The HTML spec[1] requires that UAs expose the platform equivalent of the ARIA aria-checked=mixed when the indeterminate IDL attribute is true.

"input element with a type attribute in the Checkbox state = aria-checked state set to "mixed" if the element's indeterminate IDL attribute is true, or "true" if the element's checkedness is true, or "false" otherwise"

[1]http://www.w3.org/html/wg/drafts/html/master/dom.html#sec-strong-native-semantics

The platform equivalent for Mac is AXValue: 2 
http://www.w3.org/TR/wai-aria-implementation/#mapping_state-property_table

test file http://stevefaulkner.github.io/html-mapping-tests/browser-tests/checkbox-states.html
Comment 1 Radar WebKit Bug Importer 2014-07-01 09:02:18 PDT
<rdar://problem/17521301>
Comment 2 chris fleizach 2014-07-01 11:50:52 PDT
Created attachment 234179 [details]
patch
Comment 3 Andreas Kling 2014-07-01 12:43:58 PDT
Comment on attachment 234179 [details]
patch

r=me
Comment 4 Steve Faulkner 2014-07-01 12:44:46 PDT
(In reply to comment #2)
> Created an attachment (id=234179) [details]
> patch

thanks Chris!
Comment 5 WebKit Commit Bot 2014-07-01 13:30:16 PDT
Comment on attachment 234179 [details]
patch

Clearing flags on attachment: 234179

Committed r170661: <http://trac.webkit.org/changeset/170661>
Comment 6 WebKit Commit Bot 2014-07-01 13:30:20 PDT
All reviewed patches have been landed.  Closing bug.