a11y(web): check focus outlines in both themes and fix any that are hard to see

Aperta Adatta ai principianti
#498 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@pawan76542987 ci sta già lavorando.

Dal 5/12/2026.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
80/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
css, react, typescript

Direzione di ricerca

Inizia da apps/web/src/styles/global.css e theme.css, poi passa con il tasto Tab attraverso Home, Explore, un profilo, Messages e Settings in entrambi i temi per individuare i contorni di focus poco visibili o mancanti. Aggiungi uno stile condiviso :focus-visible usando un token di colore esistente e verifica che raggiunga un contrasto di almeno 3:1 su ciascuno sfondo. Verifica che per chi usa il mouse non ci siano cambiamenti visivi, esegui npm run lint e includi nella pull request le pagine controllate e gli screenshot del prima e del dopo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

accessibility frontend good first issue help wanted

Summary

Tab through the main pages in light and dark themes and make sure every interactive element has a clearly visible focus outline.

Why this matters

Keyboard users and people with low vision rely on focus outlines. Browsers' defaults are easy to lose against our backgrounds.

Proposed solution

  • Walk through Home, Explore, a profile, Messages and Settings using only the Tab key in both themes, and note elements with a weak or missing outline.
  • Fix them in global.css/theme.css with a shared :focus-visible style that uses an existing colour token and keeps at least 3:1 contrast against its background.
  • List what you checked in the pull request, with before/after screenshots.

Where to start in the code

  • apps/web/src/styles/global.css, theme.css

Acceptance criteria

  • Every interactive element on the five pages shows a clear focus ring in both themes.
  • No visual change for mouse users (:focus-visible only).

Tests

  • Manual check; npm run lint must still pass.

Notes

  • New to open source? Read docs/FIRST_CONTRIBUTION.md, comment on this issue to claim it, and ask any question here. A small, focused pull request is perfect.

Want to work on this?

Comment on this issue to claim it, then follow First contribution and CONTRIBUTING.md. Keep the pull request to this one feature, use a conventional title (for example feat(web): check focus outlines in both themes and fix any that are hard to see), write Closes #<this issue> in the description, and run npx prettier --write on the files you changed before pushing. Questions are welcome here or on Discord.

The pull request title must start with one of feat, fix, perf, refactor, docs, test, build, ci, chore, style or revert (a CI check enforces it), even when the issue title uses another label such as security or a11y.


Generated by Claude Code

Lingua principale
TypeScript
Stelle
6
Fork
6
Merge medio
6h 7m
PR unite (30g)
167

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Haseeb-MernStack/commune

Tutte le issue di Haseeb-MernStack/commune

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.