check_a11y_usage
Validates web component HTML for accessibility issues: detects missing labels on icon buttons, dialogs, selects, and manual ARIA role overrides.
Instructions
Validates consumer HTML for accessibility mistakes when using web components — catches missing accessible labels on icon buttons/dialogs/selects, and manual role overrides on components that self-assign ARIA roles. Run this on any HTML using web components to catch a11y issues.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraryId | No | Optional library ID to target a specific loaded library instead of the default. | |
| htmlText | Yes | The HTML code to validate for accessibility issues. | |
| tagName | Yes | The custom element tag name to check accessibility for (e.g. "sl-icon-button"). |