some table colors do not meet contrast requirements
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- accessibility, frontend
Direzione di ricerca
The issue names no source file or test; reproduce the problem by inserting a BlockNote table and applying the listed color combinations. Locate the table text and color options, then verify that available combinations meet the 4.5:1 WCAG contrast requirement using the reported examples as regression cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What’s broken?
This issue was identified during the Docs accessibility audit on a page containing table-related content.
Audited page:
https://docs.numerique.gouv.fr/docs/0d998bef-1b69-47ce-bd18-83d4d849c734/
Some color combinations used inside BlockNote tables do not provide enough contrast.
Examples found during the audit:
#E03E3Eon#DDEDEA- contrast ratio: 3.53#E03E3Eon#FFFFFF- contrast ratio: 4.26
For normal text, the minimum expected contrast ratio is 4.5:1.
These combinations can make the content difficult to read for users with low vision or color perception difficulties.
Users with low vision may have difficulty reading the table content.
BlockNote version
0.51.4
What did you expect to happen?
Text colors used inside tables should meet the minimum contrast requirements.
For normal text, the contrast ratio should be at least 4.5:1.
The table color palette should prevent or avoid combinations that produce insufficient contrast.
Steps to reproduce
Insert a table using BlockNote.
Apply table/text colors using the available color options.
Check the contrast ratio for the following combinations:
#E03E3Eon#DDEDEA#E03E3Eon#FFFFFF
Notice that the contrast ratio is below 4.5:1.
BlockNote version
0.51.4
Additional context
This can also affect users in bright environments or users with color perception difficulties.
WCAG Criteria
WCAG 1.4.3, Contrast (Minimum)
- Lingua principale
- TypeScript
- Stelle
- 10.2k
- Fork
- 772
- Merge medio
- 6g 6h
- PR unite (30g)
- 25
Guida per i contributori
Apri la guida per i contributori
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 TypeCellOS/BlockNote
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
TypeCellOS/BlockNote#2949 · 1 commento ·
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TypeCellOS/BlockNote#2855 ·
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
TypeCellOS/BlockNote#2829 · 1 commento ·
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
TypeCellOS/BlockNote#2824 ·
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TypeCellOS/BlockNote#2811 ·
Tutte le issue di TypeCellOS/BlockNote
Issue simili
-
blocklist removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pastelsky/bundlephobia#1122 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100