Back to Docs
AI & Accessibility

a11y

Analyze the full accessibility tree. Subcommands: full (default), summary, find <role>.

Usage

$ cdpilot a11y [full|summary|find <role>]

Arguments

NameRequiredDescription
subcmdoptionalfull (show all nodes), summary (role counts), find <role> (filter by role)

Examples

Show the full accessibility tree

$ npx cdpilot a11y

Show role counts and interactive elements

$ npx cdpilot a11y summary

Find all buttons in the accessibility tree

$ npx cdpilot a11y find button