feat(ai-report): added detailed pass section for report package#7637
Merged
v-sharmachir merged 10 commits intomainfrom Aug 12, 2025
Merged
feat(ai-report): added detailed pass section for report package#7637v-sharmachir merged 10 commits intomainfrom
v-sharmachir merged 10 commits intomainfrom
Conversation
added 10 commits
July 30, 2025 17:28
lamaks
approved these changes
Aug 11, 2025
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
The passed section does not show the components that passed the check. To improve clarity, added logic so that passed section include the components that successfully passed the check.
Added optional parameter
expandPassSectionDetailsinaxe-results-report.ts, based on this parameter expanded pass section will be displayed, else the existing format is displayed.expandPassSectionDetailscontainsexpandPassSectionboolean to expand the pass section andexpandByTagsarray of string to expand more details like html for only those rules which consist of that tag.Report screenshot when
expandPassSectionDetailsis passed:When
expandPassSectiontrue is passedWhen
expandByTagswith some specific tag is passed. In this example, Experimental is passed in expandByTags parameter so all the rules having that tag shows passing components. This will be used to pass 'ai-scan' tag so that we show passing components for new rules and not axe-core rules.Motivation
Addresses issue - https://github.com/1ES-microsoft/accessibility-insights-agent/issues/912
Context
Pull request checklist
yarn fastpassyarn test)<rootDir>/test-results/unit/coveragefix:,chore:,feat(feature-name):,refactor:). SeeCONTRIBUTING.md.