Val + Alice
computedRole
and computedLabel
Check out the working prototype!
testdriver
infrastructure
Prototype works for linux, mac and windows
Accesses API using python bindings, see the code:
--force-renderer-accessibility
flag)What we most want your input on today is how you’d like to author tests, since we are still designing this system
Test design assumptions:
Constraints of wpt.fyi until we have “not applicable”:
Test designs we are considering:
<p id="test" role="blockquote">quotable thing</p> <script> promise_test(async t => { const node = await test_driver.get_platform_accessibility_node('test'); if (node.API == 'atspi') { assert_equals(node.role, 'block quote', 'Atspi role'); } }, 'Atspi: role blockquote'); </script>
<div id="test" role="blockquote">quotable thing</div> <script> AAMUtils.verifyAPI( 'role=blockquote', 'test', { "Atspi" : [ [ "property", "role", "is", "block quote" ] ], "AXAPI" : [ [ "property", "AXRole", "is", "AXGroup" ], [ "property", "AXSubrole", "is", "<nil>" ] ], "IAccessible2" : [...], "UIA" : [...] } ); </script>