ReqoreLink and ReqoreSlider: the focus ring is hardly visible (1.8:1 on a light customTheme; an 8% halo on the slider thumb)

Aperta
#704 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Foxhoundn ci sta già lavorando.

Dal 6/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

What the landing page needs

Keyboard focus that can be seen on every surface the site paints: the page (dark #0f0f16, light #f5f5f5), white cards, and the cost band's paper (#efedf3) and ink (#121019) surfaces (qorus-saas-landing PR #19). WCAG 2.4.11 / 1.4.11 ask for a focus indicator of at least 3:1 against what is around it.

Two Reqore controls fall short:

  • ReqoreLink: the :focus-visible outline is changeLightness(theme.main, 0.2) (or the intent's), a colour one step away from the surface it sits on. Measured on the cost band's paper with customTheme={{ main: '#efedf3', text: { color: '#13111c' } }}: outline rgb(185, 176, 202) on rgb(239, 237, 243), 1.84:1. On the dark page it is a dark grey on near black, about as faint.
  • ReqoreSlider's thumb: &:focus { box-shadow: 0 0 0 8px <colour>15; outline: none }, an 8 % halo, which is close to invisible on any surface (see also #702).

What would fix it

A focus ring that reads on its surface, e.g. the link's own text colour (currentColor, already ≥ 4.5:1 against the surface by design) or the theme's readable colour at full strength, 2px, offset 2px; the same for the slider's thumb. A story per control on a light and a dark customTheme, with a play test that focuses it and checks the outline's contrast against the surface (≥ 3:1).

Meanwhile

The cost band's wrappers draw the ring themselves on their own elements, a:focus-visible and the slider's [role='slider']:focus-visible, outline: 2px solid currentColor (src/components/home/StatsBand.tsx, CostCalculator.tsx, marked TODO(reqore)). Other ReqoreLinks on the site still have Reqore's ring.

Lingua principale
TypeScript
Stelle
4
Fork
0
Merge medio
16h 28m
PR unite (30g)
9

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 qoretechnologies/reqore

Tutte le issue di qoretechnologies/reqore

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.