Skip to content

Commit

Permalink
#1 Add table requirements to mui.json
Browse files Browse the repository at this point in the history
  • Loading branch information
carolili authored Mar 17, 2024
1 parent 1ebde84 commit 43bd34b
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions src/json/mui.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"errors": [
{
"error_type": "3.3.2 Labels or Instructions",
"description": "If the field is required it needs aria-required=\"true\" label",
"description": "If the field is required it needs aria-required=\"true\" label.",
"fix": "Add the aria-required=\"true\" label to all required fields",
"wcag": {
"version": "2.2",
Expand Down Expand Up @@ -67,16 +67,16 @@
"requirements": [
{
"error_type": "1.4.1 Use of Color",
"description": "The stepper-dots element progress is shown using changing colors",
"fix": "Include a text cue in the labels as the progress changes",
"description": "The stepper-dots element progress is shown using changing colors.",
"fix": "Include a text cue in the labels as the progress changes.",
"wcag": {
"version": "2.2",
"success_criteria": "https://www.w3.org/WAI/WCAG22/Understanding/use-of-color"
}
},
{
"error_type": "4.1.2 Name, Role, Value",
"description": "The stepper-dots element's accessible name is missing",
"description": "The stepper-dots element's accessible name is missing.",
"fix": "Can be done by adding a aria-label attribute, or the aria-labelledby attribute.",
"wcag": {
"version": "2.2",
Expand All @@ -102,7 +102,7 @@
{
"error_type": "4.1.2 Name, Role, Value",
"description": "It is recommended that each slider element has the aria-valuenow, aria-valuemin, aria-valuemax property set to a value representing the current value of the slider.",
"fix": "Can be done by adding aria-valuenow, aria-valuemin, aria-valuemax properties",
"fix": "Can be done by adding aria-valuenow, aria-valuemin, aria-valuemax properties.",
"wcag": {
"version": "2.2",
"success_criteria": "https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html"
Expand Down Expand Up @@ -131,17 +131,17 @@
"requirements": [
{
"error_type": "3.3.2 Labels or Instructions",
"description": "If the field is required it needs aria-required=\"true\" label",
"fix": "Add the aria-required=\"true\" label to all required fields",
"description": "If the field is required it needs aria-required=\"true\" label.",
"fix": "Add the aria-required=\"true\" label to all required fields.",
"wcag": {
"version": "2.2",
"success_criteria": "https://www.w3.org/TR/WCAG22/#labels-or-instructions"
}
},
{
"error_type": "3.3.2 Labels or Instructions",
"description": "It is helpful to provide instructions and labels for how to fill in an input",
"fix": "Add the aria-label=\"...\" label to all required fields",
"description": "It is helpful to provide instructions and labels for how to fill in an input.",
"fix": "Add the aria-label=\"...\" label to all required fields.",
"wcag": {
"version": "2.2",
"success_criteria": "https://www.w3.org/TR/WCAG22/#labels-or-instructions"
Expand Down Expand Up @@ -187,7 +187,17 @@
"Axe": {
"total_issues": 0,
"errors": [],
"requirements": []
"requirements": [
{
"error_type": "4.1.2 Name, Role, Value",
"description": "A table needs accessible labels describing the content and interactions.",
"fix": "Can be done by adding a aria-label attribute, or the aria-labelledby attribute.",
"wcag": {
"version": "2.2",
"success_criteria": "https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html"
}
}
]
},
"manual_testing": {
"total_issues": 0,
Expand Down

0 comments on commit 43bd34b

Please sign in to comment.