Choose which accessibility alerts post to Slack
set_slack_eventsDecides WHICH kinds of finding get announced, once a channel is already chosen. Reach for it to quieten somewhere noisy, or to switch on something a team keeps missing. WRITES to this website's Inclusify configuration, never to the site itself, and nothing is posted to Slack by this call. Four independent switches plus a threshold, all optional: anything you leave out stays as it is. The site must already have a Slack channel — use set_slack_channel first, and this refuses until then. No confirmation is needed to turn an alert ON. Turning one OFF, or raising the score-drop threshold, means nobody hears about that class of problem any more, so those REQUIRE CONFIRMATION. Needs the PRO plan, matching the panel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave this out on the first call to get a preview of exactly what would change, plus a confirmation token. Call again with the same arguments and that token to apply the change. The token lasts 10 minutes and works once. | |
| website | Yes | The website domain as registered in Inclusify, e.g. "example.com". | |
| critical | No | Post when a critical-impact issue is found. | |
| scanDone | No | Post when a scan finishes, whatever it found. The noisiest of the four. | |
| scoreDrop | No | Post when the score falls by more than the threshold below. | |
| regression | No | Post when the site gets worse than it was. On by default. | |
| scoreDropThreshold | No | How many points the score must fall before a scoreDrop alert posts, 1-50. Raising it means fewer alerts. |