diff --git a/index.html b/index.html index fbdf6133..baec5ad0 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 For Element + + + + GET + /session/{session id}/accessibility/properties/{accessibility id} + Get Accessibility Properties For Accessibility Node + + @@ -1193,6 +1206,14 @@

Errors

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

Get Computed Label

  • Return success with data label. + +

    +

    Get Accessibility Properties For Element

    + + + + + + + + + + +
    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 accessibility node that corresponds to this element. If no accessibility node exists, return error with error code no such accessibility node. + +

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

    6. Return success with data properties. +

    +
    @@ -11116,6 +11173,60 @@

    Take Element Screenshot

    +
    +

    Accessibility

    + +

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

    An accessibility node is a platform-independent, implementation-defined node in the platform-independent, implementation-defined accessibility tree. The platform-independent, implementation defined accessibility tree is built from the DOM tree for the purposes of interacting with the web page via an accessibility API. Accessibility nodes might exist in this tree for which there are no DOM element backing them (for example, one might be created to represent a CSS pseudo element). Additionally, an accessibility node might not be created for every DOM node (for example, if something is intentionally hidden from accessibility APIs using aria-hidden). See the ARIA definition of the accessibility tree for more information. + +

    Accessibility properties is a JSON Object that contains the computed accessibility properties of an accessibility node, as well as the following properties: + +

    +
    "accessibilityId" +
    The accessibility node ID of this accessibility node. + +
    "parent" +
    The accessibility node ID of the parent of this accessibility node in the accessibility tree. + +
    "children" +
    An Array of accessibility node IDs representing the child nodes of this accessibility node in the accessibility tree. +
    + +
    +

    Get Accessibility Properties for Accessibility Node

    + + + + + + + + + + +
    HTTP MethodURI Template
    GET/session/{session id}/accessibility/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 accessibility node with accessibility node ID matching the URL variables["accessibility id"]. If no such accessibility node exists, return error with error code no such accessibility node. + +

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

    5. Return success with data properties. +

    + +
    +
    +

    Print

    @@ -11603,6 +11714,10 @@

    Index

    in the Accessible Rich Internet Applications (WAI-ARIA) 1.2 specification: [[wai-aria-1.2]]
    @@ -11614,6 +11729,14 @@

    Index

    Name and Description Computation +
    +

    The following terms are defined + in the Core Accessibility API Mappings (Core-AAM) 1.2 specification: [[core-aam-1.2]] +

    + +
    Web App Security

    The following terms are defined in the Content Security Policy Level 3 specification: [[CSP3]]