Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b02c9d4
[test][form helper text] Add axe tests and WCAG conformance report
michelengelen Oct 24, 2026
8efd444
Address review feedback
michelengelen Oct 29, 2026
dcfcadd
Merge master into feature/mat-2025-a11yformhelpertext-assess-wcag-22-…
michelengelen Nov 16, 2026
0a78756
changed wording
michelengelen Nov 26, 2026
f3ef707
adressed review comments
michelengelen Nov 26, 2026
60cdb0c
improved tests and removed some that are not helpful
michelengelen Nov 26, 2026
3fbbed9
rephrased sentences and clarified testing
michelengelen Nov 26, 2026
73bed6c
review comment applied suggestion
michelengelen Nov 26, 2026
81aa3d4
general improvements
michelengelen Nov 26, 2026
08035d3
deduped pnpm
michelengelen Nov 26, 2026
997f09e
Merge master into feature/mat-2025-a11yformhelpertext-assess-wcag-22-…
michelengelen Nov 27, 2026
764ab6c
Merge master into feature/mat-2025-a11yformhelpertext-assess-wcag-22-…
michelengelen Nov 27, 2026
cd1f8f6
[test] Add dark-mode error contrast to the Button report
michelengelen Nov 27, 2026
3304287
Merge master into feature/mat-2025-a11yformhelpertext-assess-wcag-22-…
michelengelen Nov 27, 2026
232d2fd
Merge master into feature/mat-2025-a11yformhelpertext-assess-wcag-22-…
michelengelen Nov 27, 2026
e988820
Merge master into feature/mat-2025-a11yformhelpertext-assess-wcag-22-…
michelengelen Nov 27, 2026
473d5df
Merge master into feature/mat-2025-a11yformhelpertext-assess-wcag-22-…
michelengelen Nov 27, 2026
2f9ab9a
Merge master into feature/mat-2025-a11yformhelpertext-assess-wcag-22-…
michelengelen Nov 27, 2026
0fb677f
Merge branch 'master' into feature/mat-2025-a11yformhelpertext-assess…
michelengelen Nov 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"FormHelperTextA11yStates": {
"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"]
},
"duplicate-id-aria": {
"status": "pass",
"tags": ["wcag2a"]
},
"form-field-multiple-labels": {
"status": "pass",
"tags": ["wcag2a"]
},
"label": {
"status": "pass",
"tags": ["wcag2a"]
},
"target-size": {
"status": "pass",
"tags": ["wcag22aa"]
}
}
},
"FormHelperTextA11yVariants": {
"rules": {
"aria-allowed-attr": {
"status": "pass",
"tags": ["wcag2a"]
},
"aria-conditional-attr": {
"status": "pass",
"tags": ["wcag2a"]
},
"aria-hidden-focus": {
"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"]
},
"duplicate-id-aria": {
"status": "pass",
"tags": ["wcag2a"]
},
"form-field-multiple-labels": {
"status": "pass",
"tags": ["wcag2a"]
},
"label": {
"status": "pass",
"tags": ["wcag2a"]
},
"target-size": {
"status": "pass",
"tags": ["wcag22aa"]
}
}
}
}
35 changes: 18 additions & 17 deletions docs/data/material/getting-started/accessibility/accessibility.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"component": "Fab",
"note": "`info`, `warning`; label on the focus ripple: use `disableFocusRipple` with the ring"
},
{ "component": "FormHelperText", "note": "`error` on a dark Paper with elevation 2 or more" },
{
"component": "FormLabel",
"note": "focused `info`, `warning`; `error` on a dark Paper with elevation 2 or more"
Expand Down Expand Up @@ -110,6 +111,7 @@
"affected": [
{ "component": "Button", "note": "`loading`" },
"CircularProgress",
{ "component": "FormHelperText", "note": "error" },
{ "component": "IconButton", "note": "`loading`" },
"LinearProgress",
{ "component": "TextField", "note": "error" }
Expand Down
164 changes: 162 additions & 2 deletions docs/data/material/getting-started/accessibility/scorecard.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"standard": "WCAG 2.2 Level A and AA",
"componentCount": 20,
"componentCount": 21,
"totals": {
"rated": 32,
"supports": 18,
Expand Down Expand Up @@ -68,6 +68,7 @@
"Button",
"Chip",
"Fab",
"FormHelperText",
"FormLabel",
"IconButton",
"Link",
Expand Down Expand Up @@ -288,7 +289,14 @@
"level": "AA",
"conformance": "Partially Supports",
"flagged": true,
"affected": ["Button", "CircularProgress", "IconButton", "LinearProgress", "TextField"]
"affected": [
"Button",
"CircularProgress",
"FormHelperText",
"IconButton",
"LinearProgress",
"TextField"
]
}
],
"components": [
Expand Down Expand Up @@ -2365,6 +2373,158 @@
"automated": 2
}
},
{
"component": "FormHelperText",
"counts": {
"supports": 11,
"partiallySupports": 2,
"doesNotSupport": 0,
"notApplicable": 42,
"flagged": 3,
"rated": 13
},
"gaps": [
{
"number": "1.4.3",
"name": "Contrast (Minimum)",
"conformance": "Partially Supports"
},
{
"number": "4.1.3",
"name": "Status Messages",
"conformance": "Partially Supports"
}
],
"criteria": [
{
"number": "1.3.1",
"name": "Info and Relationships",
"level": "A",
"conformance": "Supports",
"responsibility": "Shared",
"group": "Hybrid",
"flagged": false
},
{
"number": "1.3.2",
"name": "Meaningful Sequence",
"level": "A",
"conformance": "Supports",
"responsibility": "Author",
"group": "Manual",
"flagged": false
},
{
"number": "1.3.3",
"name": "Sensory Characteristics",
"level": "A",
"conformance": "Supports",
"responsibility": "Author",
"group": "Manual",
"flagged": false
},
{
"number": "1.4.1",
"name": "Use of Color",
"level": "A",
"conformance": "Supports",
"responsibility": "Shared",
"group": "Hybrid",
"flagged": true
},
{
"number": "1.4.3",
"name": "Contrast (Minimum)",
"level": "AA",
"conformance": "Partially Supports",
"responsibility": "Component",
"group": "Hybrid",
"flagged": false
},
{
"number": "1.4.4",
"name": "Resize Text",
"level": "AA",
"conformance": "Supports",
"responsibility": "Shared",
"group": "Automated",
"flagged": false
},
{
"number": "1.4.5",
"name": "Images of Text",
"level": "AA",
"conformance": "Supports",
"responsibility": "Author",
"group": "Manual",
"flagged": false
},
{
"number": "1.4.10",
"name": "Reflow",
"level": "AA",
"conformance": "Supports",
"responsibility": "Shared",
"group": "Automated",
"flagged": false
},
{
"number": "1.4.12",
"name": "Text Spacing",
"level": "AA",
"conformance": "Supports",
"responsibility": "Shared",
"group": "Automated",
"flagged": false
},
{
"number": "3.3.1",
"name": "Error Identification",
"level": "A",
"conformance": "Supports",
"responsibility": "Shared",
"group": "Hybrid",
"flagged": false
},
{
"number": "3.3.2",
"name": "Labels or Instructions",
"level": "A",
"conformance": "Supports",
"responsibility": "Shared",
"group": "Hybrid",
"flagged": true
},
{
"number": "3.3.3",
"name": "Error Suggestion",
"level": "AA",
"conformance": "Supports",
"responsibility": "Author",
"group": "Manual",
"flagged": false
},
{
"number": "4.1.3",
"name": "Status Messages",
"level": "AA",
"conformance": "Partially Supports",
"responsibility": "Shared",
"group": "Hybrid",
"flagged": true
}
],
"summary": {
"rated": 13,
"levelA": 6,
"levelAA": 7,
"supports": 11,
"partiallySupports": 2,
"doesNotSupport": 0,
"verified": 10,
"automated": 3
}
},
{
"component": "FormLabel",
"counts": {
Expand Down
Loading
Loading