Skip to content

Commit

Permalink
Update label-invisible-element.html
Browse files Browse the repository at this point in the history
  • Loading branch information
shunguoy committed Nov 28, 2023
1 parent 98df636 commit 7e6d78c
Showing 1 changed file with 2 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<input id="input" type="text" />
</div>
</details>
<details>
<!--details>
<summary>Direct Detail summary</summary>
<div>
<label id="2" for="input">
Expand All @@ -60,7 +60,7 @@
</label>
<input id="input" type="text" />
</div>
</div>
</div-->
</div>
</main>
<script type="text/javascript">
Expand All @@ -82,54 +82,6 @@
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
},
{
"ruleId": "label_content_exists",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[1]/details[2]/div[1]/label[1]",
"aria": "/document[1]/main[1]/group[2]"
},
"reasonId": "Pass_Regular",
"message": "<label> element has accessible name with inner content",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
},
{
"ruleId": "label_content_exists",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[1]/div[1]/div[1]/label[1]",
"aria": "/document[1]/main[1]"
},
"reasonId": "Pass_Regular",
"message": "<label> element has accessible name with inner content",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
},
{
"ruleId": "label_content_exists",
"value": [
"INFORMATION",
"PASS"
],
"path": {
"dom": "/html[1]/body[1]/main[1]/div[1]/div[2]/div[1]/label[1]",
"aria": "/document[1]/main[1]"
},
"reasonId": "Pass_Regular",
"message": "<label> element has accessible name with inner content",
"messageArgs": [],
"apiArgs": [],
"category": "Accessibility"
}
]
}
Expand Down

0 comments on commit 7e6d78c

Please sign in to comment.