test: use spec compliant spelling for aria-labelledby attribute (#12454)

This commit is contained in:
Alexandra Borovova 2024-05-16 20:09:24 +02:00 committed by GitHub
parent aa591e2a13
commit 6e5dcdedc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 8 deletions

View File

@ -932,13 +932,6 @@
"expectations": ["PASS", "TIMEOUT"],
"comment": "times out flakily"
},
{
"testIdPattern": "[ariaqueryhandler.spec] AriaQueryHandler queryOne (Chromium web test) should find by name \"bar\"",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"],
"comment": "TODO: Needs investigation"
},
{
"testIdPattern": "[ariaqueryhandler.spec] AriaQueryHandler queryOne (Chromium web test) should find treeitem by name",
"platforms": ["darwin", "linux", "win32"],

View File

@ -621,7 +621,7 @@ describe('AriaQueryHandler', () => {
`
<h2 id="shown">title</h2>
<h2 id="hidden" aria-hidden="true">title</h2>
<div id="node1" aria-labeledby="node2"></div>
<div id="node1" aria-labelledby="node2"></div>
<div id="node2" aria-label="bar"></div>
<div id="node3" aria-label="foo"></div>
<div id="node4" class="container">