Skip to content

Commit

Permalink
update the test cases #1091
Browse files Browse the repository at this point in the history
  • Loading branch information
shunguoy committed Oct 4, 2022
1 parent bab3e5f commit 0b88f8e
Show file tree
Hide file tree
Showing 9 changed files with 122 additions and 121 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
</head>
<body>
<main>
<div>
<div aria-live="true">first div</div>
<div title="second div">
Sample from <a href="https://w3c.github.io/aria-practices/examples/combobox/combobox-select-only.html">ARIA 1.2 Practices</a>
</div>
<label id="combo1-label" class="combo-label">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@
UnitTest = {
ruleIds: ["combobox_version"],
results: [{
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]",
"aria": "/document[1]/main[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]",
"aria": "/document[1]/generic[1]/main[1]/generic[2]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
}
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,21 +198,21 @@
UnitTest = {
ruleIds: ["combobox_version"],
results: [{
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/main[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/generic[1]/main[1]/generic[2]/generic[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
}
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,21 +198,21 @@
UnitTest = {
ruleIds: ["combobox_version"],
results: [{
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/main[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/generic[1]/main[1]/generic[2]/generic[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
}
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,21 +198,21 @@
UnitTest = {
ruleIds: ["combobox_version"],
results: [{
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/main[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/generic[1]/main[1]/generic[2]/generic[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
}
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,21 @@
UnitTest = {
ruleIds: ["combobox_version"],
results: [{
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/main[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/generic[1]/main[1]/generic[2]/generic[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
}
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,21 @@
UnitTest = {
ruleIds: ["combobox_version"],
results: [{
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/main[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/generic[1]/main[1]/generic[2]/generic[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
}
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@
UnitTest = {
ruleIds: ["combobox_version"],
results: [{
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/main[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/generic[1]/main[1]/generic[2]/generic[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
}
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@
UnitTest = {
ruleIds: ["combobox_version"],
results: [{
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/main[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
"ruleId": "combobox_version",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[2]/div[1]/input[1]",
"aria": "/document[1]/generic[1]/main[1]/generic[2]/generic[1]/combobox[1]"
},
"reasonId": "Pass_1.2",
"message": "The combobox design pattern is detected as ARIA 1.2",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}]
}
</script>
</body>
Expand Down

0 comments on commit 0b88f8e

Please sign in to comment.