Skip to content

accessibility: ensure minimum contrast ratio of 4.5:1 for Toast notification message text #2083

Description

@SourabhX16

Problem Statement

Muted gray text colors on semi-transparent toast backgrounds yield a contrast ratio of 3.2:1.

Why It Matters

Low text contrast impairs toast readability for low-vision users.

Expected Behaviour

Update toast notification text colors to high-contrast tokens (#f8fafc on dark translucent fill).

Acceptance Criteria

  • Toast text contrast ratio meets or exceeds WCAG 2.1 AA 4.5:1 requirement.
  • Verified across success, error, and info toast types.
  • Readability enhanced.

Likely Affected Files / Components

  • src/components/Toasts.tsx
  • src/styles/globals.css

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions