DocumentationAccessibility TestingConfiguring rules and exceptions

Configuring rules and exceptions

5 min readLast updated 2026-04-25New

Disable specific rules, add exceptions for known issues, and configure custom rules.

Not all WCAG rules apply to every app. Check Studio lets you disable rules, add exceptions, and define custom checks.

Disabling rules

// checkstudio.config.js
module.exports = {
  accessibility: {
    rules: {
      'color-contrast': { enabled: false },
      'label': { enabled: false },
    },
  },
};
javascript

Element-level exceptions

{
  accessibility: {
    exceptions: [
      { selector: '.chart-canvas', rules: ['color-contrast'] },
    ],
  },
}
javascript

Caution

Exceptions are logged in the audit trail. Excessive exceptions may trigger governance alerts if your org has policy enforcement enabled.

Was this article helpful?

Still have questions?

Our support team is here to help. Reach out directly or search the docs.