Block Merges with Accessibility Gates
The pull requests are blocked only when the repository’s branch protection rules or rulesets require the A11yInspect check to pass before merging.
To ensure accessibility requirements are consistently enforced, configure GitHub branch protection or repository rulesets.
Configure a Required Status Check
Proceed with the following steps:
- Open the GitHub repository.
- Go to settings then select rules and then Rulesets.
- Create or update your ruleset for your primary branch.
- Enable Require status check to pass before merging.
- Select the A11yInspect Status Check.
Benefits
Accessibility gates help teams:
- Prevent accessibility regressions
- Enforce quality standards
- Ensure consistent review practices
- Maintain accessibility compliance across releases
- When accessibility violations remain unresolved, pull requests can be prevented from merging until issues are addressed.
Advance Configurations
Following are the available enhancements:
| Advancement Features | Description |
|---|---|
| Weekly Audits | Scheduled accessibility reviews |
| Configuration File | Centralize settings in a11yinspect.config.json |
| JSON Reports | Export machine-readable results |
| JUnit Reports | Integrate with CI reporting tools |
| Jira Integration | Create and update tickets automatically |
| Slack & Teams Notifications | Send scan results to collaboration platforms |