-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
I think this would be more of a question ask than an issue report. I couldn't find answers by searching online so would like to get some help here.
I have a component inside an iframe and I need to check if there is any a11y violations for that component. Now I can get the iframe using the below code, but looks like I can't pass it in to checkA11y function as the context, because it's not the type of ElementContext. Is a11y checking supported for elements inside iframes? What should be the correct way to do it?
const iframe = await page.frame({url: xxxxxx});
await checkA11y(page, iframe, options);