diff --git a/index.html b/index.html index fbdf6133..937f83f3 100644 --- a/index.html +++ b/index.html @@ -1040,6 +1040,19 @@

Endpoints

/session/{session id}/print Print Page + + + GET + /session/{session id}/element/{element id}/accessibilityproperties + Get Accessibility Properties + + + + GET + /session/{session id}/accessibility/properties/{accessibility id} + Get Accessibility Properties For Accessible Object + + @@ -1193,6 +1206,14 @@

Errors

and cannot be brought into that viewport. + + no such accessible + 404 + no such accessible + An accessibility node could not be located on the page + using the given search parameters. + + no such alert 404 @@ -1255,6 +1276,14 @@

Errors

A new session could not be created. + + stale accessible reference + 404 + stale accessible reference + A command failed because + the referenced accessible is no available. + + stale element reference 404 @@ -6028,6 +6057,43 @@

Get Computed Label

  • Return success with data label. + +

    +

    Get Accessibility Properties

    + + + + + + + + + + +
    HTTP MethodURI Template
    GET/session/{session id}/element/{element id}/accessibilityproperties
    + +

    The remote end steps, given session, URL +variables and parameters are: + +

      +
    1. If session's current browsing context is no longer open, + return error with error code no such window. + +

    2. Try to handle any user prompts + with session. + +

    3. Let element be the result + of trying to get a known element + with URL variables["element id"]. + +

    4. Let accessible be the accessible object that corrosponds to this element in the accessibility tree. + +

    5. Let properties be the result of computing the accessibility properties of accessible. + + +

    6. Return success with data properties. +

    +
    @@ -11116,6 +11182,68 @@

    Take Element Screenshot

    +
    +

    Accessibility

    + +

    An accessibility ID is a string value representing a handle to an accessible object in a specific WebDriver session. + +

    Accessibility properties is a JSON Object that contains the relevant WAI-ARIA states and properties of an accessible object, as well as the following properties: + +

    +
    "accessibilityId" +
    The accessibility ID of this accessible object. + +
    "parent" +
    The accessibility ID of the parent of this accessible object in the accessibility tree, including ignored accessible objects. + +
    "children" +
    A list of accessibility IDs representing the children of this accessible object in the accessibility tree, including ignored accessible objects. +
    + +

    Ignored accessible objects are accessible objects that represent elements which are excluded from the accessibility tree. The accessibility properties of these accessible objects must only have the keys accessibilityID, parent, children and role set to "none". + +

    To get a known accessible object given session and reference: + +

      +
    1. TO DO: Should we create a parallel to the specification of get a known element? Do we need to make a parallel structure to browsing context group node map and node id map? +

    + +
    +

    Get Accessibility Properties for Accessible Object

    + + + + + + + + + + +
    HTTP MethodURI Template
    GET/session/{session id}/accessibiltiy/properties/{accessibility id}/
    + +

    The remote end steps, given session, URL +variables and parameters are: + +

      +
    1. If session's current browsing context is no longer open, + return error with error code no such window. + +

    2. Try to handle any user prompts + with session. + +

    3. Let node be the result + of trying to get a known accessible object + with URL variables["accessibility id"]. + +

    4. Let properties be the result of computing the accessibility properties of node. + +

    5. Return success with data properties. +

    + +
    +
    +

    Print

    @@ -11602,7 +11730,11 @@

    Index

    The following terms are defined in the Accessible Rich Internet Applications (WAI-ARIA) 1.2 specification: [[wai-aria-1.2]]