Repository navigation
[test][form label] Add axe tests and WCAG conformance report #49552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
michelengelen
merged 12 commits into
mui:master
from
michelengelen:feature/mat-2024-a11yformlabel-assess-wcag-22-conformance
Nov 27, 2026
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
877ab6a
[test][form label] Add axe tests and WCAG conformance report
michelengelen 222dba5
Address review feedback
michelengelen 897421f
Merge master into feature/mat-2024-a11yformlabel-assess-wcag-22-confo…
michelengelen 3a5a1f0
updated test file
michelengelen 12bbbd1
added a link back to the FormLabel test that covers the required prop
michelengelen eee2c99
review comment
michelengelen 5856928
updated inline comment
michelengelen 3e7443a
back links and docs updates
michelengelen eb20910
dedupe
michelengelen 3663e82
Merge master into feature/mat-2024-a11yformlabel-assess-wcag-22-confo…
michelengelen 9a2c2d7
Merge master into feature/mat-2024-a11yformlabel-assess-wcag-22-confo…
michelengelen 30b9df3
added note about dark mode
michelengelen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
122 changes: 122 additions & 0 deletions
122
docs/data/material/components/form-label/form-label.a11y.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,122 @@ | ||
| { | ||
| "FormLabelA11yColorMatrix": { | ||
| "rules": { | ||
| "aria-allowed-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-conditional-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-prohibited-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-valid-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-valid-attr-value": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "color-contrast": { | ||
| "status": "fail", | ||
| "tags": ["wcag2aa"] | ||
| } | ||
| } | ||
| }, | ||
| "FormLabelA11yColorMatrixDark": { | ||
| "rules": { | ||
| "aria-allowed-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-conditional-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-prohibited-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-valid-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-valid-attr-value": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "color-contrast": { | ||
| "status": "pass", | ||
| "tags": ["wcag2aa"] | ||
| } | ||
| } | ||
| }, | ||
| "FormLabelA11yStates": { | ||
| "rules": { | ||
| "aria-allowed-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-conditional-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-deprecated-role": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-hidden-focus": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-prohibited-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-required-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-roles": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-valid-attr": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "aria-valid-attr-value": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "color-contrast": { | ||
| "status": "pass", | ||
| "tags": ["wcag2aa"] | ||
| }, | ||
| "duplicate-id-aria": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "form-field-multiple-labels": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "label": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "nested-interactive": { | ||
| "status": "pass", | ||
| "tags": ["wcag2a"] | ||
| }, | ||
| "target-size": { | ||
| "status": "pass", | ||
| "tags": ["wcag22aa"] | ||
| } | ||
| } | ||
| } | ||
| } |
22 changes: 12 additions & 10 deletions
22
docs/data/material/getting-started/accessibility/accessibility.md
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.