Bug 131111

Summary: AX: no accessibility support for details element
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Severity: Normal CC: aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, esprehn+autocc, faulkner.steve, gyuyoung.kim, jdiggs, mario, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 129787    
Bug Blocks:    
Description Flags
test case
patch none

Description James Craig 2014-04-02 09:57:16 PDT
This is like disclosure triangles on OS X. They are focusable buttons that expand and collapse the other sibling nodes. 

Probable changes for this bug. 

1. Change the DisclosureTriangleRole to just DisclosureRole. Will not always render as triangle.
2. Update summary element to use the new role, and be the label for the group.
3. Update AccessibilityObject::supportsARIAExpanded() to be supportsExpanded()… No longer ARIA-specific.
4. Update AccessibilityObject::isExpanded() to account for the boolean "open" attr on DisclosureRole in addition to aria-expanded.
5. Update test in getAccessibilityPropertiesForNode.html

Test case markup:

<details open>
  <summary>Some open info</summary>
  <p>Details about the open topic.</p>

  <summary>Some closed info</summary>
  <p>Details about the closed topic.</p>
Comment 1 Radar WebKit Bug Importer 2014-04-02 09:57:33 PDT
Comment 2 James Craig 2014-04-02 11:41:30 PDT
Created attachment 228406 [details]
test case
Comment 3 Steve Faulkner 2015-06-13 11:48:07 PDT
any update on this? just checked in Version 8.0.5 (10600.5.17, r183741) and no acc support.
Comment 4 chris fleizach 2015-06-14 22:13:45 PDT
Created attachment 254865 [details]
Comment 5 WebKit Commit Bot 2015-06-15 11:39:59 PDT
Comment on attachment 254865 [details]

Clearing flags on attachment: 254865

Committed r185558: <http://trac.webkit.org/changeset/185558>
Comment 6 WebKit Commit Bot 2015-06-15 11:40:05 PDT
All reviewed patches have been landed.  Closing bug.