a11y_scanInteractiveByText
Test web accessibility by finding interactive elements using visible text labels, automatically discovering components for WCAG compliance checks.
Instructions
Test accessibility of components by finding them using visible text/labels instead of CSS selectors. Automatically discovers and tests interactive elements. Perfect for natural language testing like 'test the Rewards section' or 'test the user menu'. Uses comprehensive WCAG 2.0, 2.1 Level A/AA and best-practice rules by default.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to navigate to | |
| containerText | Yes | Visible text to find the container by (e.g., 'Rewards', 'Navigation', 'User Profile'). Will search for this text in headings, labels, buttons, and ARIA labels. | |
| autoDiscover | No | Automatically discover and test all interactive elements (buttons, links, inputs) within the container | |
| customInteractions | No | Optional custom interactions in addition to auto-discovery | |
| captureScreenshots | No | ||
| timeout | No |