Skip to content

Implement accessibility rule: frame-tested #107

@koddsson

Description

@koddsson

Summary

  • Implement the frame-tested rule so <iframe> and <frame> elements are confirmed to load the accessibility scanner script when scanning (Critical impact).
  • Add rule metadata consistent with the README (review-item, best-practice tags) and ensure it integrates with the scanner pipeline.

Acceptance Criteria

  • Add src/rules/frame-tested.ts implementing the rule logic and associated metadata.
  • Add focused tests under tests/ that cover frames missing the script and frames where the script is present.
  • Refresh documentation with npm run build:readme, and keep formatting/tests passing.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    best-practiceTag imported from READMEcat.structureTag imported from READMEenhancementNew feature or requestjavascriptPull requests that update javascript codereview-itemTag imported from README

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions