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

"Try again" on a report run that failed to load is a span, not a button

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

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #181 di @CRYPTONIKAV — integrata

Valutazione

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

Direzione di ricerca

In website/src/ReportsView.jsx, aggiorna l’elemento “Try again” come specificato nell’issue. Leggi i pattern di assertion esistenti in website/test/clickableContent.test.mjs e aggiungi un’assertion sulla semantica del pulsante e sulla possibilità di spostare il focus sul controllo. Esegui il test pertinente; il lavoro è completato quando viene superato e il controllo mantiene lo stile visivo descritto.

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

Descrizione

accessibility good first issue

When a report run's details fail to load, Reports shows "This run's details could not be loaded. Try again". That "Try again" is a <Box component="span"> with an onClick, so you cannot reach it with the keyboard. Every other "Try again" in website/src is already a real button. This is the only span.

Where: website/src/ReportsView.jsx:

<Box component="span" onClick={() => setMissed(null)} sx={{ ... cursor: "pointer", textDecoration: "underline" }}>Try again</Box>

Done when it is component="button" type="button" with border: 0, bgcolor: "transparent", p: 0, font: "inherit" added to sx, so it looks the same but takes focus.

Test: an assertion in website/test/clickableContent.test.mjs.


Getting started: pip install -e ".[dev]", then python -m pytest -q (offline). UI work: cd website && npm ci && npm test. 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
14h 34m
PR unite (30g)
46

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.