Skip to content

🦅 ContentHawk - Content Audit: Update popup/modal guidance and accessibility notes #12591

@github-actions

Description

@github-actions

File

public/uploads/rules/dont-open-popup-windows-use-a-javascript-modal-instead/rule.mdx

Finding

lastUpdated: 2016-11-17. The rule focuses on avoiding popup windows and using anchor tags or JavaScript onclick to open windows. It doesn't mention modern accessibility, focus management for modals, rel="noopener" for external links, or recommending accessible dialog patterns.

Suggestions

  • Update to recommend accessible modal patterns (focus trap, ARIA roles, keyboard support) and link to WAI-ARIA Authoring Practices.
  • Add security recommendation for external links (rel="noopener noreferrer") and advise when to use target vs. modals.
  • Suggest modern modal libraries or native dialog element with progressive enhancement examples.

contenthawk-run-id: 24946376720

Generated by Content Judge (Agent 2a) ·

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions