Skip to content

fix: GameHeader nav buttons have no onClick or aria-label #115

Description

@Mkalbani

File: src/components/gameplay/GameHeader.tsx (also affects src/components/Navbar.tsx mobile menu)

Problem
"Store", "Game mode", and "Setting" are bare <button> elements — no handler, no aria-label, no routing. The bell, door, and avatar imgs in the right-side utility cluster are wrapped in <button> with no handler either. The mobile menu in Navbar.tsx repeats this with the Coins/Call/50-50/Audience cards.

Expected

  • Either wire the buttons to their routes / lifeline actions, or convert them to non-interactive <div>s with a comment that they're display-only.
  • Add aria-label="..." to every interactive element containing only an icon.
  • For lifelines: dispatch a Redux action and show a notification when used.

Acceptance

  • Every interactive element is reachable by keyboard and announced by screen readers.
  • Lifelines decrement their counter and show a toast on use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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