Skip to main content
Go to Latest
class Accessibility
import { Accessibility } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/Accessibility.js";

The Accessibility class provides methods for inspecting Chromium's accessibility tree. The accessibility tree is used by assistive technology such as screen readers or switches.

Constructors

new
Accessibility(client: CDPSession)

Properties

private
_client
private
collectInterestingNodes
private
serializeTree

Methods

Captures the current state of the accessibility tree. The returned object represents the root accessible node of the page.