[Bug]: toMatchAriaSnapshot
does not respect ElementInternals
#34264
Labels
toMatchAriaSnapshot
does not respect ElementInternals
#34264
Version
1.49.1
Steps to reproduce
https://github.com/mrginglymus/pw-asei
This repo contains a custom element that sets
role
toheading
on itsElementInternals
instance.Inspecting this element in chromiums accessibility tree shows that it has seen it as a heading:
Expected behavior
Test in repo to pass
Actual behavior
Test in repo does not detect element as heading.
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: