{
  "doc": {
    "id": "accessibility/configuration/axe-core-configuration",
    "title": "axeConfig: enable, disable, and scope Axe Core® rules in Cypress Accessibility",
    "description": "Use accessibility.axeConfig in App Quality Config to enable or disable Axe Core® rules, or scope a report to WCAG tags.",
    "section": "accessibility",
    "source_path": "/llm/markdown/accessibility/configuration/axe-core-configuration.md",
    "version": "5a232a3cf094b8f928b1179ce5af6a5046296fac",
    "updated_at": "2026-11-13T01:14:31.437Z",
    "headings": [
      {
        "id": "accessibility/configuration/axe-core-configuration#configure-axe-core-rules-axeconfig",
        "text": "Configure Axe Core® rules - axeConfig",
        "level": 1
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#why-use-axeconfig",
        "text": "Why use axeConfig?",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#customize-included-elements-pages-and-ci-blocking-behavior",
        "text": "Customize included elements, pages, and CI-blocking behavior",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#scope",
        "text": "Scope",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#setting-axeconfig",
        "text": "Setting axeConfig",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#syntax",
        "text": "Syntax",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#options",
        "text": "Options",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#how-is-axeconfig-applied",
        "text": "How is axeConfig applied?",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#validation-rules",
        "text": "Validation rules",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#examples",
        "text": "Examples",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#enable-color-contrast-checking",
        "text": "Enable color contrast checking",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#config",
        "text": "Config",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#result",
        "text": "Result",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#disable-a-noisy-rule-project-wide",
        "text": "Disable a noisy rule project-wide",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#config",
        "text": "Config",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#result",
        "text": "Result",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#scope-the-report-to-wcag-2-1-a-and-aa",
        "text": "Scope the report to WCAG 2.1 A and AA",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#config",
        "text": "Config",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#result",
        "text": "Result",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#scope-to-wcag-tags-and-enable-color-contrast",
        "text": "Scope to WCAG tags and enable color contrast",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#config",
        "text": "Config",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#result",
        "text": "Result",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#apply-a-different-ruleset-on-pull-request-runs",
        "text": "Apply a different ruleset on pull request runs",
        "level": 3
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#config",
        "text": "Config",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#usage",
        "text": "Usage",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#result",
        "text": "Result",
        "level": 4
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#what-the-default-ruleset-covers",
        "text": "What the default ruleset covers",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#rules-that-are-off-by-default",
        "text": "Rules that are off by default",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#component-testing",
        "text": "Component testing",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#axe-core-library-version-and-updates",
        "text": "Axe-Core® library version and updates",
        "level": 2
      },
      {
        "id": "accessibility/configuration/axe-core-configuration#see-also",
        "text": "See also",
        "level": 2
      }
    ]
  },
  "chunks": [
    {
      "id": "accessibility/configuration/axe-core-configuration#why-use-axeconfig",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Why use axeConfig?",
      "heading_level": 2,
      "content_markdown": "## Why use axeConfig?\n\n*   **Enable a rule that is off by default**: The most common change is turning on [color contrast checking](#rules-that-are-off-by-default) for a project where you've confirmed it produces reliable results.\n*   **Turn off a rule that is a known false positive**: If a specific rule consistently misfires because of a third-party framework you can't change, disable it project-wide so it stops adding noise to your reports.\n*   **Scope the report to a conformance target**: Limit the run to the WCAG tags your team measures against, including rule groups that Axe-Core® keeps off by default, such as WCAG 2.2 or Level AAA.\n\n### Customize included elements, pages, and CI-blocking behavior\n\nTo ignore a specific rule for individual elements, add the [`data-a11y-ignore`](/llm/markdown/accessibility/configuration/ignoring-rules-per-element.md) attribute in your application code. To keep a rule enabled but stop a particular element or page from being reported, use [`elementFilters`](/llm/markdown/accessibility/configuration/elementfilters.md) or [`viewFilters`](/llm/markdown/accessibility/configuration/viewfilters.md). To decide which findings block a build in CI, parse your run's results with the [Results API](/llm/markdown/accessibility/connect-and-extend/results-api.md).\n",
      "section": "accessibility",
      "anchors": [
        "why-use-axeconfig"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 219
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#customize-included-elements-pages-and-ci-blocking-behavior",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Customize included elements, pages, and CI-blocking behavior",
      "heading_level": 3,
      "content_markdown": "### Customize included elements, pages, and CI-blocking behavior\n\nTo ignore a specific rule for individual elements, add the [`data-a11y-ignore`](/llm/markdown/accessibility/configuration/ignoring-rules-per-element.md) attribute in your application code. To keep a rule enabled but stop a particular element or page from being reported, use [`elementFilters`](/llm/markdown/accessibility/configuration/elementfilters.md) or [`viewFilters`](/llm/markdown/accessibility/configuration/viewfilters.md). To decide which findings block a build in CI, parse your run's results with the [Results API](/llm/markdown/accessibility/connect-and-extend/results-api.md).\n",
      "section": "accessibility",
      "anchors": [
        "customize-included-elements-pages-and-ci-blocking-behavior"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 80
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#scope",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Scope",
      "heading_level": 2,
      "content_markdown": "## Scope\n\n`axeConfig` is only valid under an `accessibility` key in your App Quality configuration. It can also be set inside a [`profiles`](/llm/markdown/accessibility/configuration/profiles.md) entry to apply different rulesets to tagged runs.\n",
      "section": "accessibility",
      "anchors": [
        "scope"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 41
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#setting-axeconfig",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Setting axeConfig",
      "heading_level": 2,
      "content_markdown": "## Setting axeConfig\n\nTo add or edit `axeConfig`, open the **App Quality** tab in your project settings in Cypress Cloud. See [Setting configuration](/llm/markdown/accessibility/configuration/overview.md#Setting-Configuration) for details, including how to regenerate past reports with a new configuration without rerunning your tests.\n",
      "section": "accessibility",
      "anchors": [
        "setting-axeconfig"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 52
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#syntax",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Syntax",
      "heading_level": 2,
      "content_markdown": "## Syntax\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"runOnly\": {\n        \"type\": \"tag\" | \"tags\" | \"rule\" | \"rules\",\n        \"values\": [string]\n      },\n      \"rules\": {\n        \"<rule-id>\": { \"enabled\": boolean }\n      }\n    }\n  }\n}\n```\n\n### Options\n\n| Option | Required | Default | Description |\n| --- | --- | --- | --- |\n| `runOnly` | Optional |  | Limits which Axe-Core® rules run to the listed tags or rule IDs. `type` is `tag` or `tags` for Axe-Core® tags such as `wcag2aa`, and `rule` or `rules` for individual rule IDs. `values` is the list of tags or rule IDs to include. |\n| `rules` | Optional |  | Per-rule overrides. Each key is an Axe-Core® [rule ID](https://github.com/dequelabs/axe-core/blob/develop/doc/rule-descriptions.md), and `enabled` turns that rule on or off. Overrides apply on top of Cypress defaults and any `runOnly` selection. |\n\n### How is axeConfig applied?\n\n*   **`rules` overrides win over Cypress defaults.** Cypress Accessibility starts from its [default disabled rules](#rules-that-are-off-by-default). Any rule you set in `axeConfig.rules` replaces that default for that rule, so `\"color-contrast\": { \"enabled\": true }` turns color contrast on for the project.\n*   **`runOnly` narrows the ruleset.** When you set `runOnly`, only rules that match the listed tags or IDs run. Rules outside that selection are reported as ignored by configuration.\n*   **Combine `runOnly` and `rules` when you need both.** A common pattern is scoping to WCAG tags with `runOnly`, then enabling or disabling individual rules inside that scope with `rules`.\n*   **Disabled rules stay visible in the report.** In the **Rules** view, rules turned off by configuration appear with an **Ignored by configuration** status, so it's clear which checks a run did and did not include.\n*   **Unknown properties are rejected.** Cypress Cloud validates `axeConfig` against a strict schema. Only `runOnly` and `rules` are accepted, and each `rules` entry accepts only `enabled`.\n\n### Validation rules\n\nCypress Cloud rejects a configuration when:\n\n*   `axeConfig` is set at the root of the configuration instead of under `accessibility`.\n*   `axeConfig` contains a property other than `runOnly` or `rules`.\n*   `runOnly` is missing `type` or `values`, or uses an unsupported `type`.\n*   A `rules` entry is missing `enabled`, or contains a property other than `enabled`.\n",
      "section": "accessibility",
      "anchors": [
        "syntax"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 487
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#options",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Options",
      "heading_level": 3,
      "content_markdown": "### Options\n\n| Option | Required | Default | Description |\n| --- | --- | --- | --- |\n| `runOnly` | Optional |  | Limits which Axe-Core® rules run to the listed tags or rule IDs. `type` is `tag` or `tags` for Axe-Core® tags such as `wcag2aa`, and `rule` or `rules` for individual rule IDs. `values` is the list of tags or rule IDs to include. |\n| `rules` | Optional |  | Per-rule overrides. Each key is an Axe-Core® [rule ID](https://github.com/dequelabs/axe-core/blob/develop/doc/rule-descriptions.md), and `enabled` turns that rule on or off. Overrides apply on top of Cypress defaults and any `runOnly` selection. |\n",
      "section": "accessibility",
      "anchors": [
        "options"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 139
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#how-is-axeconfig-applied",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "How is axeConfig applied?",
      "heading_level": 3,
      "content_markdown": "### How is axeConfig applied?\n\n*   **`rules` overrides win over Cypress defaults.** Cypress Accessibility starts from its [default disabled rules](#rules-that-are-off-by-default). Any rule you set in `axeConfig.rules` replaces that default for that rule, so `\"color-contrast\": { \"enabled\": true }` turns color contrast on for the project.\n*   **`runOnly` narrows the ruleset.** When you set `runOnly`, only rules that match the listed tags or IDs run. Rules outside that selection are reported as ignored by configuration.\n*   **Combine `runOnly` and `rules` when you need both.** A common pattern is scoping to WCAG tags with `runOnly`, then enabling or disabling individual rules inside that scope with `rules`.\n*   **Disabled rules stay visible in the report.** In the **Rules** view, rules turned off by configuration appear with an **Ignored by configuration** status, so it's clear which checks a run did and did not include.\n*   **Unknown properties are rejected.** Cypress Cloud validates `axeConfig` against a strict schema. Only `runOnly` and `rules` are accepted, and each `rules` entry accepts only `enabled`.\n",
      "section": "accessibility",
      "anchors": [
        "how-is-axeconfig-applied"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 221
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#validation-rules",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Validation rules",
      "heading_level": 3,
      "content_markdown": "### Validation rules\n\nCypress Cloud rejects a configuration when:\n\n*   `axeConfig` is set at the root of the configuration instead of under `accessibility`.\n*   `axeConfig` contains a property other than `runOnly` or `rules`.\n*   `runOnly` is missing `type` or `values`, or uses an unsupported `type`.\n*   A `rules` entry is missing `enabled`, or contains a property other than `enabled`.\n",
      "section": "accessibility",
      "anchors": [
        "validation-rules"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 79
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#examples",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Examples",
      "heading_level": 2,
      "content_markdown": "## Examples\n\n### Enable color contrast checking\n\nColor contrast is [off by default](#rules-that-are-off-by-default). Turn it on for the project.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"rules\": {\n        \"color-contrast\": { \"enabled\": true }\n      }\n    }\n  }\n}\n```\n\n#### Result\n\nThe `color-contrast` rule runs for the project. The other rules that are off by default stay off.\n\n* * *\n\n### Disable a noisy rule project-wide\n\nTurn off a rule that's not relevant to your project or your current accessibility goals, to reduce noise for your team when parsing reports.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"rules\": {\n        \"region\": { \"enabled\": false }\n      }\n    }\n  }\n}\n```\n\n#### Result\n\nThe `region` rule is listed as **Ignored by configuration** and stops adding violations to the report.\n\n* * *\n\n### Scope the report to WCAG 2.1 A and AA\n\nLimit the run to WCAG 2.0 and 2.1 Level A and AA tags, and leave Best Practices rules out of the report.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"runOnly\": {\n        \"type\": \"tag\",\n        \"values\": [\"wcag2a\", \"wcag2aa\", \"wcag21a\", \"wcag21aa\"]\n      }\n    }\n  }\n}\n```\n\n#### Result\n\nOnly rules tagged for those WCAG levels run. Best Practices rules, such as `region` and `landmark-one-main`, are ignored by configuration.\n\n* * *\n\n### Scope to WCAG tags and enable color contrast\n\nCombine `runOnly` with a per-rule override so the report stays on your conformance target while color contrast still runs.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"runOnly\": {\n        \"type\": \"tag\",\n        \"values\": [\"wcag2a\", \"wcag21a\"]\n      },\n      \"rules\": {\n        \"color-contrast\": { \"enabled\": true }\n      }\n    }\n  }\n}\n```\n\n#### Result\n\nThe report includes WCAG 2.0 and 2.1 Level A rules, including `color-contrast`, and leaves Best Practices rules out.\n\n* * *\n\n### Apply a different ruleset on pull request runs\n\nUse a [`profiles`](/llm/markdown/accessibility/configuration/profiles.md) entry so tagged pull request runs scope to WCAG 2.0 and 2.1 Level A and AA tags while regression runs keep the broader base ruleset.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"profiles\": [\n    {\n      \"name\": \"aq-config-pr\",\n      \"comment\": \"Pull request gate: WCAG A/AA only\",\n      \"config\": {\n        \"accessibility\": {\n          \"axeConfig\": {\n            \"runOnly\": {\n              \"type\": \"tag\",\n              \"values\": [\"wcag2a\", \"wcag2aa\", \"wcag21a\", \"wcag21aa\"]\n            }\n          }\n        }\n      }\n    }\n  ]\n}\n```\n\n#### Usage\n\n```\ncypress run --record --tag \"aq-config-pr\"\n```\n\n#### Result\n\nRuns recorded with the `aq-config-pr` tag use the scoped ruleset. Runs recorded without that tag keep the base configuration.\n",
      "section": "accessibility",
      "anchors": [
        "examples"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 548
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#enable-color-contrast-checking",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Enable color contrast checking",
      "heading_level": 3,
      "content_markdown": "### Enable color contrast checking\n\nColor contrast is [off by default](#rules-that-are-off-by-default). Turn it on for the project.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"rules\": {\n        \"color-contrast\": { \"enabled\": true }\n      }\n    }\n  }\n}\n```\n\n#### Result\n\nThe `color-contrast` rule runs for the project. The other rules that are off by default stay off.\n\n* * *\n",
      "section": "accessibility",
      "anchors": [
        "enable-color-contrast-checking"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 83
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#disable-a-noisy-rule-project-wide",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Disable a noisy rule project-wide",
      "heading_level": 3,
      "content_markdown": "### Disable a noisy rule project-wide\n\nTurn off a rule that's not relevant to your project or your current accessibility goals, to reduce noise for your team when parsing reports.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"rules\": {\n        \"region\": { \"enabled\": false }\n      }\n    }\n  }\n}\n```\n\n#### Result\n\nThe `region` rule is listed as **Ignored by configuration** and stops adding violations to the report.\n\n* * *\n",
      "section": "accessibility",
      "anchors": [
        "disable-a-noisy-rule-project-wide"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 99
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#scope-the-report-to-wcag-2-1-a-and-aa",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Scope the report to WCAG 2.1 A and AA",
      "heading_level": 3,
      "content_markdown": "### Scope the report to WCAG 2.1 A and AA\n\nLimit the run to WCAG 2.0 and 2.1 Level A and AA tags, and leave Best Practices rules out of the report.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"runOnly\": {\n        \"type\": \"tag\",\n        \"values\": [\"wcag2a\", \"wcag2aa\", \"wcag21a\", \"wcag21aa\"]\n      }\n    }\n  }\n}\n```\n\n#### Result\n\nOnly rules tagged for those WCAG levels run. Best Practices rules, such as `region` and `landmark-one-main`, are ignored by configuration.\n\n* * *\n",
      "section": "accessibility",
      "anchors": [
        "scope-the-report-to-wcag-2-1-a-and-aa"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 109
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#scope-to-wcag-tags-and-enable-color-contrast",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Scope to WCAG tags and enable color contrast",
      "heading_level": 3,
      "content_markdown": "### Scope to WCAG tags and enable color contrast\n\nCombine `runOnly` with a per-rule override so the report stays on your conformance target while color contrast still runs.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"runOnly\": {\n        \"type\": \"tag\",\n        \"values\": [\"wcag2a\", \"wcag21a\"]\n      },\n      \"rules\": {\n        \"color-contrast\": { \"enabled\": true }\n      }\n    }\n  }\n}\n```\n\n#### Result\n\nThe report includes WCAG 2.0 and 2.1 Level A rules, including `color-contrast`, and leaves Best Practices rules out.\n\n* * *\n",
      "section": "accessibility",
      "anchors": [
        "scope-to-wcag-tags-and-enable-color-contrast"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 109
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#config",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Config",
      "heading_level": 4,
      "content_markdown": "#### Config\n\nApp Quality Config\n\n```\n{\n  \"accessibility\": {\n    \"axeConfig\": {\n      \"runOnly\": {\n        \"type\": \"tag\",\n        \"values\": [\"wcag2a\", \"wcag21a\"]\n      },\n      \"rules\": {\n        \"color-contrast\": { \"enabled\": true }\n      }\n    }\n  }\n}\n```\n",
      "section": "accessibility",
      "anchors": [
        "config"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 41
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#apply-a-different-ruleset-on-pull-request-runs",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Apply a different ruleset on pull request runs",
      "heading_level": 3,
      "content_markdown": "### Apply a different ruleset on pull request runs\n\nUse a [`profiles`](/llm/markdown/accessibility/configuration/profiles.md) entry so tagged pull request runs scope to WCAG 2.0 and 2.1 Level A and AA tags while regression runs keep the broader base ruleset.\n\n#### Config\n\nApp Quality Config\n\n```\n{\n  \"profiles\": [\n    {\n      \"name\": \"aq-config-pr\",\n      \"comment\": \"Pull request gate: WCAG A/AA only\",\n      \"config\": {\n        \"accessibility\": {\n          \"axeConfig\": {\n            \"runOnly\": {\n              \"type\": \"tag\",\n              \"values\": [\"wcag2a\", \"wcag2aa\", \"wcag21a\", \"wcag21aa\"]\n            }\n          }\n        }\n      }\n    }\n  ]\n}\n```\n\n#### Usage\n\n```\ncypress run --record --tag \"aq-config-pr\"\n```\n\n#### Result\n\nRuns recorded with the `aq-config-pr` tag use the scoped ruleset. Runs recorded without that tag keep the base configuration.\n",
      "section": "accessibility",
      "anchors": [
        "apply-a-different-ruleset-on-pull-request-runs"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 145
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#config",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Config",
      "heading_level": 4,
      "content_markdown": "#### Config\n\nApp Quality Config\n\n```\n{\n  \"profiles\": [\n    {\n      \"name\": \"aq-config-pr\",\n      \"comment\": \"Pull request gate: WCAG A/AA only\",\n      \"config\": {\n        \"accessibility\": {\n          \"axeConfig\": {\n            \"runOnly\": {\n              \"type\": \"tag\",\n              \"values\": [\"wcag2a\", \"wcag2aa\", \"wcag21a\", \"wcag21aa\"]\n            }\n          }\n        }\n      }\n    }\n  ]\n}\n```\n",
      "section": "accessibility",
      "anchors": [
        "config"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 56
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#what-the-default-ruleset-covers",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "What the default ruleset covers",
      "heading_level": 2,
      "content_markdown": "## What the default ruleset covers\n\nCypress applies no conformance filter of its own, so a run evaluates whatever Axe-Core® enables by default, minus the [three rules Cypress turns off by default](#rules-that-are-off-by-default):\n\n| Axe-Core® rule group | Runs by default | Notes |\n| --- | --- | --- |\n| WCAG 2.0 Level A and AA | Yes | Minus `color-contrast`, `no-autoplay-audio`, and `meta-refresh`, which are WCAG-tagged but off by default |\n| WCAG 2.1 Level A and AA | Yes |  |\n| Best Practices | Yes | Deque's own recommendations, such as `region` and `landmark-one-main`. These are not WCAG success criteria. |\n| WCAG 2.2 Level A and AA | No | Off by default in Axe-Core® itself. Enable these for your project with `runOnly` or per-rule `rules`. |\n| WCAG Level AAA | No | Off by default in Axe-Core® itself. Enable these for your project with `runOnly` or per-rule `rules`. |\n| Experimental and deprecated | No | Off by default in Axe-Core® itself. |\n\nKeep these behaviors in mind if you're measuring against a formal standard:\n\n*   **The default report is broader than any single WCAG level.** Best Practices findings appear alongside WCAG ones, so a violation in your report is not automatically a WCAG failure. Use the **Rules** filter in a report to separate WCAG 2.1 A, WCAG 2.1 AA, and Best Practices results.\n*   **The default report is also not complete WCAG coverage.** The three rules that are off by default map to WCAG success criteria (1.4.3, 1.4.2, and 2.2.1), and no automated ruleset can evaluate every success criterion in the first place. See [accessibility automation principles](/llm/markdown/accessibility/guides/accessibility-automation.md) for what conformance requires beyond automation.\n",
      "section": "accessibility",
      "anchors": [
        "what-the-default-ruleset-covers"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 375
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#rules-that-are-off-by-default",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Rules that are off by default",
      "heading_level": 2,
      "content_markdown": "## Rules that are off by default\n\nA small number of Axe-Core® rules are turned off in Cypress Accessibility by default. Color contrast can be enabled per project with `axeConfig`. The other two depend on live runtime behavior that isn't reproduced when Cypress re-renders a captured snapshot for analysis, so they can't be evaluated reliably even if you enable them.\n\n| Rule | Why it's off by default |\n| --- | --- |\n| Elements must meet minimum color contrast ratio thresholds | This is the slowest rule in the Axe-Core® ruleset and the one most likely to produce false positives or incomplete results. It works well in many projects; enable it with `\"color-contrast\": { \"enabled\": true }`. |\n| `<video>` or `<audio>` elements must not play automatically | Detecting a violation requires loading and playing the media to measure how long it plays. Cypress analyzes a reconstructed snapshot of the page without playable media, so this rule can't be evaluated. |\n| Delayed refresh under 20 hours must not be used | This rule reads a page's meta refresh directive, which Cypress disables while it analyzes a run so the reconstructed page doesn't navigate away. With the directive disabled, the rule can't be evaluated. |\n\nIn addition, the custom [Cypress rule](/llm/markdown/accessibility/core-concepts/cypress-rules.md) _Interactive elements should be semantically correct_ is available in all projects but is not enabled by default. Reach out to Cypress if you'd like it turned on.\n\nYou can confirm which rules were turned off for any run in its Accessibility report. In the **Rules** view, disabled rules are listed with an **Ignored by configuration** status, so it's always clear which checks a run did and did not include.\n",
      "section": "accessibility",
      "anchors": [
        "rules-that-are-off-by-default"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 376
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#component-testing",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Component testing",
      "heading_level": 2,
      "content_markdown": "## Component testing\n\nCypress Accessibility works with [component testing](/llm/markdown/app/component-testing/get-started.md) as well as end-to-end testing. Alongside the rules that are off by default above, **page-level rules do not run for component tests**. Because a component is usually a fragment of a page rather than a complete document, rules that assert on overall page structure would report failures that don't apply to a component in isolation.\n\nRules skipped for component tests include page-structure and document-level checks, such as whether the page has a main landmark, a single top-level heading, a language attribute, and a document title. Rules that evaluate the components themselves, such as color contrast (when enabled), button naming, and image alternative text, run as normal.\n\nThe exact set of skipped rules isn't a fixed list Cypress maintains. It's derived from which rules Axe-Core® classifies as page-level, so it can shift when Cypress updates its Axe-Core® version. In a component's report, these page-structure rules are reported as not applicable rather than as failures. An `axeConfig` rule override can't force a page-level rule to run for component tests.\n",
      "section": "accessibility",
      "anchors": [
        "component-testing"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 235
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#axe-core-library-version-and-updates",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "Axe-Core® library version and updates",
      "heading_level": 2,
      "content_markdown": "## Axe-Core® library version and updates\n\nCypress pins a specific, tested version of the Axe-Core® library. New Axe-Core® versions are released several times a year. While Cypress doesn't commit to updating our internal version within a specific timeframe, we always wait at least 30 days before adopting a new release.\n\nBecause some updates introduce new rules or change how existing issues are detected, this buffer gives you time to adjust how you use the [Results API](/llm/markdown/accessibility/connect-and-extend/results-api.md) if needed. You can track Axe-Core® releases [on GitHub](https://github.com/dequelabs/axe-core/releases).\n\nThe exact Axe-Core® version used for a given run is shown in the **Properties** tab for that run in Cypress Cloud, and is also included as `axeVersion` in the [Results API](/llm/markdown/accessibility/connect-and-extend/results-api.md) response. To get a heads-up in CI when the version changes, see [how to detect a change in the axe-core version](/llm/markdown/accessibility/connect-and-extend/results-api.md#how-to-detect-a-change-in-the-axe-core-version).\n",
      "section": "accessibility",
      "anchors": [
        "axe-core-library-version-and-updates"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 183
    },
    {
      "id": "accessibility/configuration/axe-core-configuration#see-also",
      "doc_id": "accessibility/configuration/axe-core-configuration",
      "heading": "See also",
      "heading_level": 2,
      "content_markdown": "## See also\n\n*   [Configuration overview](/llm/markdown/accessibility/configuration/overview.md) lists every App Quality Config option and how to apply and regenerate configuration.\n*   [Results API](/llm/markdown/accessibility/connect-and-extend/results-api.md) is where you decide which rules block a build in CI.\n*   [Ignore rules per element - `data-a11y-ignore`](/llm/markdown/accessibility/configuration/ignoring-rules-per-element.md) turns off specific rules for individual elements from your application code.\n*   [Profiles](/llm/markdown/accessibility/configuration/profiles.md) apply a different `axeConfig` to tagged runs.\n*   [Cypress rules](/llm/markdown/accessibility/core-concepts/cypress-rules.md) documents the custom rules Cypress layers on top of Axe-Core®.\n*   [Cypress Accessibility FAQ](/llm/markdown/accessibility/faq.md) answers common questions about rules and configuration.\n",
      "section": "accessibility",
      "anchors": [
        "see-also"
      ],
      "path": "/llm/json/chunked/accessibility/configuration/axe-core-configuration.json",
      "token_estimate": 112
    }
  ]
}