Skip to content

[A11y] Give SettingsToggle an accessible name #627

Closed

Description

@cursor

Problem

SettingsToggle only names itself when label is passed. Alerts, labs, and notification channel toggles omit label / aria-label (adjacent visible text is not associated). Preferences toggles do pass label.

Proposed change

Require label or aria-label, or wrap with <label>. Update call sites.

Why this matters

Enable/disable alerts and notification channels are otherwise unnamed switches for assistive tech.

Suggested implementation

  • apps/dashboard/app/components/dashboard/settings/settings-ui.tsx
  • Call sites: AlertsClient.tsx, AlertRuleEditor.tsx, LabsSettingsClient.tsx, NotificationsSettingsClient.tsx

This is a named control, not a sweep of icon-only buttons.

Acceptance criteria

  • Every SettingsToggle has an accessible name
  • No visual regression for labeled vs unlabeled layouts
  • Tests added/updated where applicable
  • Documentation updated where applicable

Contributor notes

This should be a good first contribution and does not require deep knowledge of the Telemetry Tracker architecture.

Open PRs against develop. See CONTRIBUTING.md.

Activity

  1. added
    triage:small
    on Oct 16, 2026
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

    triage:small

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions