The presenter's bar pages with the same chevrons as the viewer's bar
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
- Tipo di issue
- Refactoring
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Inizia confrontando i pulsanti precedente e successivo in src/deck-engine/DeckChromeViewer.tsx, che già usano ChevronLeftRegular e ChevronRightRegular con aria-label, con le frecce di testo in src/deck-engine/DeckChromePresenter.tsx. Sostituisci le frecce del presenter con le stesse icone, a una dimensione adatta a quella barra, e aggiungi gli aria-label corrispondenti senza modificare la paginazione, gli stati disabilitati o il contatore. È completato quando entrambe le barre mostrano i chevron, uno screen reader nomina entrambi i pulsanti del presenter e i test del motore passano.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
The player's two bars page through a deck with different marks. The viewer's bar (src/deck-engine/DeckChromeViewer.tsx) uses thin chevrons, ChevronLeftRegular and ChevronRightRegular, and its comment explains the choice. The presenter's bar (src/deck-engine/DeckChromePresenter.tsx) uses the text arrows ← and →. Anyone who switches between Viewer and Podium sees the same control drawn two ways, and a host that embeds the engine inherits both.
What changes
- The presenter's previous and next buttons use the same chevron icons as the viewer's bar, at the size that suits the presenter bar.
- Both buttons get an
aria-label("Previous slide" and "Next slide"), as the viewer's buttons have. With the text arrows gone, the buttons have no other accessible name. - Paging behaviour, disabled states and the counter stay as they are.
Done when
- Both bars show chevrons for previous and next, at every width.
- A screen reader names both presenter buttons.
- The engine's tests pass.
Out of scope
- Text buttons that pair a word with an arrow, such as "← Back" and "Next →" in the notes window. They follow a different pattern.
- Any other change to either bar's layout.
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 0
- Merge medio
- 30m
- PR unite (30g)
- 9
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di johnfrog76/connected-deck
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
johnfrog76/connected-deck#21 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
johnfrog76/connected-deck#19 ·
-
The in-deck settings sheet is the form's tight variant: mode names on one line, a small drawerApertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
johnfrog76/connected-deck#23 ·
-
enhancement good first issue
Difficoltà 3/5 Mezza giornata Idoneità per principianti 70/100
johnfrog76/connected-deck#22 ·
-
enhancement
Difficoltà 3/5 Mezza giornata Idoneità per principianti 66/100
johnfrog76/connected-deck#20 ·
Tutte le issue di johnfrog76/connected-deck
Issue simili
-
Remove unused dependenciesForse già presa @alastair-smith l’ha presa oggi. Apertachore other
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
alastair-smith/card-games#384 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
code-yeongyu/senpi#5571 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nexu-io/open-design#9262 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
friction
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
kentcdodds/kody#4753 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
lingdojo/kana-dojo#33508 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno