Skip to content

Enable ACT tests for aria-hidden-focus, object-alt, frame-focusable-content#358

Open
koddsson wants to merge 1 commit intomainfrom
fix/348-act-tests-batch2
Open

Enable ACT tests for aria-hidden-focus, object-alt, frame-focusable-content#358
koddsson wants to merge 1 commit intomainfrom
fix/348-act-tests-batch2

Conversation

@koddsson
Copy link
Owner

Summary

  • Enabled ACT tests for 6cfa84 (aria-hidden-focus), 8fc3b6 (object-alt), akn7bn (frame-focusable-content)
  • Bug fix: Fixed isVisible() in src/utils.ts to handle DOMParser documents with null defaultView — now properly falls back to inline style checks
  • 25 new ACT test files (12 for aria-hidden-focus, 10 for object-alt, 3 for frame-focusable-content)
  • 1 test skipped: aria-hidden-focus case where JS focus sentinel redirects focus (not evaluable statically)
  • Updated rules.json to mark all 3 as implemented

Part of #348

Test plan

  • All 204 tests pass
  • No regressions

🤖 Generated with Claude Code

…ontent

Part of #348

- Removed 6cfa84, 8fc3b6, akn7bn from rulesToIgnore in generate-act-tests.js
- Fixed isVisible() to properly fall back to inline styles when
  ownerDocument.defaultView is null (e.g. DOMParser documents)
- Skipped one 6cfa84 test where a focus sentinel relies on JS to
  redirect focus (scanner cannot evaluate script behavior)
- Updated rules.json to mark all three rules as implemented

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant