chore: Update axe core version to 4.12.1 - #7771
Draft
Chirag Sharma (v-sharmachir) wants to merge 4 commits into
Draft
chore: Update axe core version to 4.12.1#7771Chirag Sharma (v-sharmachir) wants to merge 4 commits into
Chirag Sharma (v-sharmachir) wants to merge 4 commits into
Conversation
Chirag Sharma (v-sharmachir)
marked this pull request as ready for review
June 16, 2026 13:37
v-jitendjain
marked this pull request as draft
June 25, 2026 04:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
This pull request updates the
axe-coredependency to version 4.12.1 across the codebase and makes several accessibility improvements to ensure compliance with the new version's stricterlabel-content-name-mismatchrule. It also updates component ARIA labels so that the visible text content is always a substring of the accessible name, as required by axe-core 4.12.1. Additionally, package versions are incremented where appropriate, and related test snapshots are updated to reflect these changes.Accessibility improvements:
nav-link-button.tsx,tab-stops-requirements-with-instances.tsx, andrules-with-instances.tsxso that the accessible name always starts with the visible text, appending additional information (such as outcome) in parentheses at the end. This ensures compliance with axe-core 4.12's label-content-name-mismatch rule. [1] [2] [3]overview-left-nav-link.tsx,test-view-left-nav-link.tsx,tab-stops-minimal-requirement-header.tsx, andminimal-rule-header.tsx. [1] [2] [3] [4]Dependency and package updates:
axe-coreto version 4.12.1 in the rootpackage.json,packages/report/package.json, andpackages/ui/package.json. [1] [2] [3]accessibility-insights-reportandaccessibility-insights-ui. [1] [2]Test and snapshot updates:
Motivation
Updating axe-core version from 4.11.3 to 4.12.1
Context
Pull request checklist
yarn fastpassyarn test)<rootDir>/test-results/unit/coveragefix:,chore:,feat(feature-name):,refactor:). SeeCONTRIBUTING.md.