Skip to content

[Bug]: Usage page figures are read by screen readers as run-on lines #37231

Closed

Description

@nibarAhmed

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Turn on a screen reader (NVDA on Windows).
  2. Open Usage with some recorded usage.
  3. Read the summary column (headline total and provider rows) and the Totals row in browse mode.
  4. Click a model in the Breakdown to open its dialog and read the stat tiles at the top.

Expected behavior

Each figure is announced on its own, with its label, for example "Processed tokens: 1.2M", "Cached input: 1M", and each provider's name, session count and figures as separate items the user can move through one at a time.

Actual behavior

Each area is read as one run-on line with no breaks between labels and values (figures below are illustrative, not real data):

Summary column:

$12.3442 sessions · API estimateClaude Code42 sessions$12.34100.0% of cost · 1.2M tokens

Totals row:

Processed tokens1.2MCached input1MUncached input150KOutput50KCache savings$56.78

Model dialog:

Cost$12.34Tokens1.1MPer 1M tokens$0.53Cache hit96.8%

Visually these are separate labels and values, but the label and value are adjacent <span>s that only look separate through flex layout, so a screen reader gets the text glued together. Same bug as #35249 (the limits popover).

Affected code:

  • Summary column (headline and provider rows) in apps/web/src/components/usage/UsagePage.tsx
  • Metric in apps/web/src/components/usage/UsagePage.tsx (Totals row)
  • The stat tiles in apps/web/src/components/usage/UsageModelDialog.tsx

Impact

Minor bug or occasional failure

Version or commit

main @ a3708b5

Environment

Windows 11, NVDA

Logs or stack traces

No response

Screenshots, recordings, or supporting files

No response

Workaround

None. Sighted users can read the layout; screen reader users only get the run-on lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions