DescriptionExposing correct state for summary element depending on open attribute.
Mac:
In the Mac accessibility API on the summary element (AXDisclosureTriangle), set AXExpanded property to NO.
When the details element content is shown, on the summary element (AXDisclosureTriangle), set theAXExpanded property to YES.
Win:
In the IA2 accessibility API on the summary element (ROLE_SYSTEM_PUSHBUTTON), set STATE_SYSTEM_COLLAPSED.
When the details element content is shown, on the summary element (ROLE_SYSTEM_PUSHBUTTON), set STATE_SYSTEM_EXPANDED.
How hidden nd show states is reflected for details element?
The hidden and shown states of the details element content is reflected by the absence or presence of the open attribute.
This is in accordance with the spec http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#summary-and-details-elements
BUG=282016
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185050
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|