Help with Switch value change for testable statements

Hi,
I'm not sure how to write the test statement for the role=switch value change test statement.

All of the sections before this include the state information for aria-checked when 'false', 'true', 'mixed', or undefined', so how do I modify the following to reflect a value change in aria-checked?

E.G Do I need to include the JavaScript for doing this, or is the below markup sufficient?

Also, how do I change the wiki table after this to reflect the mappings in the section at
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#mapping_events_state-change

I'm not sure how to edit this accordingly.
Thanks,
Bryan

=== switch checked value changes (NEEDS TEST:  Bryan G) ===

<pre>
if given
 <div id='test' role='switch' aria-checked='false' tabindex='0' class='switch'>power</div>
then toggle aria-checked between "true" and "false" and expose aria-checked on the element with id="test" when the state changes
</pre>
{| class="wikitable"
|-
|rowspan=3|ATK
|property
|role
|is
|ROLE_TOGGLE_BUTTON
|-
|property
|states
|contains
|STATE_CHECKABLE
|-
|property
|states
|doesNotContain
|STATE_CHECKED
|-
|rowspan=4|AXAPI
|property
|AXRole
|is
|AXCheckbox
|-
|property
|AXSubrole
|is
|AXSwitch
|-
|property
|AXDescription
|is
|switch
|-
|property
|AXValue
|is
|0
|-
|rowspan=2|IAccessible2
|property
|role
|is
|IA2_ROLE_TOGGLE_BUTTON
|-
|property
|objectAttributes
|contains
|xml-roles:switch
|-
|rowspan=3|UIA
|property
|Control Type
|isNot
|Button
|-
|property
|Localized Control Type
|isNot
|toggleswitch
|-
|property
|Toggle.ToggleState
|is
|Off
|}

Bryan Garaventa
Accessibility Fellow
SSB BART Group, Inc.
bryan.garaventa@ssbbartgroup.com
415.624.2709 (o)
www.SSBBartGroup.com

Received on Friday, 24 March 2017 00:04:03 UTC