Iframe Scan Test — Test 1 (srcdoc)
How this test works: Scanner should report issues from BOTH parent & iframe.
- Parent has 2 issues: empty button + grey text below.
- Iframe (via
srcdoc) has ~8 axe issues: image-alt, button-name, link-name, label, color-contrast, duplicate-id, aria-hidden-focus, html-has-lang.
Verdict:
- If scanner reports only ~2 issues → iframe scanning is BROKEN (axe not recursing).
- If scanner reports ~10 issues → iframe scanning WORKS for srcdoc.
PARENT page: grey #999 text — should FAIL contrast on parent.