-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
Describe the bug
#8724 removed four tests that started failing with the upgrade of aria-query
and axobject-query
and added four TODOs
elementRoles
from aria-query
used to contain:
{ constraints: [ 'descendant of table' ], name: 'td' },
{ attributes: [ { name: 'role', value: 'gridcell' } ], name: 'td' }
But after #8724 it contains:
{
constraints: [ 'ancestor table element has table role' ],
name: 'td'
},
{
constraints: [ 'ancestor table element has grid role' ],
name: 'td'
}
This gives different results when element_interactivity
calls match_schema
because of the presence/absence of attributes
:
Reproduction
import { elementRoles } from 'aria-query';
console.log(elementRoles.keys().filter((schema) => schema.name === 'td'))
Logs
No response
System Info
`aria-query` 5.1.3 and 5.2.1
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels