Skip to content

a11y: add modal semantics and focus trap to EasterEggTerminal #18

@cevheri

Description

@cevheri

Problem

EasterEggTerminal.astro overlay behaves like a modal but is missing:

  • role="dialog" + aria-modal="true" on the container
  • Focus management (move focus into dialog on open, restore on close)
  • Focus trapping (prevent tab into background content)

Fix

Add proper ARIA attributes and focus management to the terminal overlay.

Priority

Low — the feature is intentionally hidden (Easter egg).


Source: PR #11 Copilot review (round 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions