Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

LEARNED.md view switch (Text / What changed / Visualize) is mouse-only

Chiusa Adatta ai principianti
#156 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #195 di @Omaima-Ameen — chiusa senza merge

Valutazione

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

Direzione di ricerca

Cerca setView(k) in website/src/DocsView.jsx per trovare il cambio di visualizzazione. Leggi l’interfaccia nelle vicinanze ed esamina website/test/clickableContent.test.mjs per conoscere le convenzioni dei test. Rendi i controlli utilizzabili da tastiera e aggiungi uno stato selezionato visibile. Poi aggiungi un test che verifichi che il selettore sia un pulsante; esegui cd website && npm test.

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

Descrizione

accessibility good first issue

The switch between "Text", "What changed" and "Visualize" on the LEARNED.md page is a row of <Box key={k} onClick={() => setView(k)}>. It cannot be reached or operated from the keyboard, and the selected view is shown only by colour.

Where: website/src/DocsView.jsx. Search for setView(k).

Done when it is a ToggleButtonGroup (or buttons with aria-pressed), looks the same, and works with Tab plus Enter/Space.

Test: add a case to website/test/clickableContent.test.mjs (or a new *.test.mjs beside it) asserting the element is now a button.


Getting started: pip install -e ".[dev]", then python -m pytest -q (offline). UI work: cd website && npm ci && npm test (Node 22). See CONTRIBUTING.md. One small PR with the change (and its test, where there is one) is perfect.

Lingua principale
Python
Stelle
116
Fork
22
Merge medio
13h 21m
PR unite (30g)
53

Preparare l'ambiente

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 ldbumble/taskuary

Tutte le issue di ldbumble/taskuary

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.