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

Abierto
#704 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@Foxhoundn ya está trabajando en esto.

Desde el 6/10/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
4
Forks
0
Merge medio
16 h 28 min
PR fusionados (30 d)
9

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de qoretechnologies/reqore

Todos los issues de qoretechnologies/reqore

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.