fileforge_a11y_action
Run focused accessibility checks on one page: audit WCAG compliance, read the accessibility tree, test keyboard navigation, and check color contrast without changing the page.
Instructions
Check one page's accessibility: run an audit, read the accessibility tree, and check keyboard navigation and color contrast. Use this for focused accessibility work, and fileforge_audit_action for a wider audit. Doesn't change the page; results can be stored locally. Needs the extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Save the result in ~/.fileforge and return a ref. | |
| tabId | No | Tab ID, or "active" for the active tab. | active |
| action | Yes | What to do. Required parameters are in brackets. audit: Run an accessibility audit against the active or specified tab. get_tree: Get the accessibility tree for the current page. check_keyboard: Check keyboard navigability. check_contrast: Check color contrast across the page. | |
| standard | No | Accessibility standard to check against. | wcag2aa |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | False if the action failed or a check did not pass. | |
| ref | No | Stored result ID, for fileforge_result_action. | |
| data | No | The result. Its shape depends on the action. | |
| meta | No | Tool, action and context. | |
| error | No | Failure code and message. | |
| warnings | No | Notes about a call that still ran. |