prose tables: tabela que rola no celular não mostra sinal (sombra a 14% some no escuro e fica sob o cabeçalho) e a região não tem nome
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- accessibility, frontend
Rechercherichtung
Start with the .ca-table-wrap scroll affordance in prose.css and the local workaround in apps/docs/src/lib/table-scroll.ts; check apps/docs/tests/layout.spec.ts for existing table coverage. Reproduce the issue in light and dark themes, then implement and test a visible indication of scroll direction and an accessible name for the focusable region. Done when the tests confirm the indicator appears in both themes and the region is named.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problema
Tabela que rola na horizontal no celular não mostra nenhum sinal de que continua. Em .ca-table-wrap (prose.css, "Scroll affordance") a dica é um sombreamento via background com linear-gradient(to right, oklch(0 0 0 / 0.14), transparent) (preto a 14%) mais cobertura local com --ca-surface-base.
Causas medidas (@codeatlasdev/ui 4.6.0, wiApi, 390px):
- Invisível no tema escuro: preto a 14% sobre
--ca-surface-base(oklch 0.16) muda cerca de 0,02 de luminosidade (oklch). Nenhum sinal visível; foi como o dono do produto viu a terceira coluna cortada em "Chame connec…" sem saber que rolava. - Escondida atrás do cabeçalho: o
thtembackground: var(--ca-surface-raised)opaco e pinta acima do fundo do wrapper, então a dica nunca aparece na linha do cabeçalho. - Sem nome acessível: o wrapper tem
tabindex="0", mas nada definerole="region"nemaria-label; leitores de tela anunciam um grupo sem nome (no app consumidor:aria-label="Tabela"repetido, 51 páginas com mais de uma tabela com o mesmo nome).
Nas docs da wiApi, 177 tabelas em 99 páginas rolam no celular (auditoria em apps/docs/tests/layout.spec.ts).
Comportamento esperado
Enquanto houver colunas escondidas num lado, esse lado mostra o corte de forma perceptível nos dois temas, sobre cabeçalho e corpo, e a região tem nome.
Proposta
- Estado em CSS/JS mínimo:
data-scroll="none|start|middle|end"no wrapper (ResizeObserver +scroll), ouanimation-timeline: scroll(x)onde houver suporte. - Dica com tokens do tema:
mask-imagecom degradê nas bordas que têm mais conteúdo (funciona em claro/escuro e sobre o cabeçalho) e uma seta (‹›) sobre a borda,pointer-events: none,prefers-reduced-motionrespeitado. Sem preto literal. - Se o wrapper for focalizável, exigir
aria-label(prop/atributo documentado) erole="region". - Teste: tabela mais larga que a coluna tem
data-scrolldiferente denonee a seta com opacidade 1, nos dois temas.
Regra geral
Todo contêiner que rola mostra, por tokens e nos dois temas, para que lado há mais conteúdo, e tem nome acessível se for focalizável.
Workaround local: apps/docs/src/app.css (ca-ui-workaround(#N)), apps/docs/src/lib/table-scroll.ts.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6
- Forks
- 3
- Ø Merge
- 5 Std. 21 Min.
- Gemergte PRs (30 T.)
- 378
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codeatlasdev/ui
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
codeatlasdev/ui#1340 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:a11y area:components bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
codeatlasdev/ui#1336 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
codeatlasdev/ui#1329 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
codeatlasdev/ui#1292 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:components enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
codeatlasdev/ui#1198 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in codeatlasdev/ui
Ähnliche Issues
-
bug frontend
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
CivicTechWR/accessible-housing-portal#578 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
nekko-labs/nekko-agent#2998 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
sandbox-quantum/switch#2163 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement ux
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
lolimmlost/aidj#433 ·
Maintainer antworten meist innerhalb von 1 Tag
-
test: ipcShownDialogKeys.test.tsx can fail the unit run with 'window is not defined' after it endsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag