arrow-dark gives region markers a light band that fails contrast
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 88/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
- Ambito
- accessibility
Direzione di ricerca
Inizia da src/resources/pandoc/highlight-styles/arrow-dark.theme, il file del tema collegato nell’issue, e controlla la regola RegionMarker. Rimuovi lo sfondo chiaro affinché i marcatori usino lo sfondo scuro del blocco di codice. Il lavoro è terminato quando code span.re renderizzato non presenta più la fascia quasi bianca e il testo ciano è leggibile sullo sfondo scuro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
The arrow-dark highlighting theme gives the RegionMarker token a background of #f8f8f2 and a text colour of #00e0e0.
That pair has a contrast ratio of 1.54:1, far below the 4.5:1 of WCAG 2.2 Success Criterion 1.4.3.
axe-core reports it as color-contrast, impact serious.
Every other token of arrow-dark takes only a text colour and sits on the code block.
The light band looks like a leftover from a light theme.
Region markers show up in C and C++ (//BEGIN and //END) and in other KDE syntaxes.
Related: #14090 (arrow-dark has no code block background, see https://github.com/quarto-dev/quarto-cli/issues/14090#issuecomment-3945376236) and #14135 (inline code does not use the theme background).
This one is a token-level background inside the theme file, so it stays even once the code block has a background.
Steps to reproduce
---
title: "arrow-dark RegionMarker contrast"
format:
html:
theme:
light: default
dark: darkly
respect-user-color-scheme: true
syntax-highlighting:
light: arrow-light
dark: arrow-dark
---
```cpp
//BEGIN region
int x = 1;
//END
```
Render it, open it with the system in dark mode, and inspect code span.re.
Quarto 1.10.19 and the current development build both produce this stylesheet.
The theme file is the same in the 1.11.7 pre-release.
Actual behavior
The dark highlighting stylesheet has:
code span.re {
background-color: #f8f8f2;
color: #00e0e0;
}
Both markers compute to rgb(0, 224, 224) on rgb(248, 248, 242), which is 1.54:1.
Expected behavior
The region markers are readable in dark mode.
Dropping background-color from RegionMarker in arrow-dark.theme puts #00e0e0 on the dark code block, like the other tokens.
Your environment
- OS: macOS (Darwin 27.0.0, Apple Silicon).
- Browser: Brave (Chromium).
Quarto check output
Quarto 99.9.9
[✓] Checking environment information...
Quarto cache location: /Users/mcanouil/Library/Caches/quarto
Project: none found (single-file mode)
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.7.14: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 99.9.9
commit: 2bd9f23c90b6ba1be8bde5fb8f4e5d0d1b1878fa
Path: /Users/mcanouil/Projects/quarto-dev/quarto-cli/package/dist/bin
[✓] Checking tools....................OK
TinyTeX: v2026.07
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/mcanouil/Library/TinyTeX/bin/universal-darwin
Version: 2026
[✓] Checking Chrome Headless....................OK
Using: Chrome from QUARTO_CHROMIUM
Path: /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
[✓] Checking basic markdown render....OK
ℹ R version 4.6.1 (2026-06-24)
! Config '~/.Rprofile' was loaded!
[✓] Checking R installation...........OK
Version: 4.6.1
Path: /Library/Frameworks/R.framework/Versions/4.6/Resources
LibPaths:
- /Users/mcanouil/Library/R/arm64/4.6/library
- /Library/Frameworks/R.framework/Versions/4.6/Resources/library
knitr: 1.51
rmarkdown: 2.31
[✓] Checking Knitr engine render......OK
[✓] Checking Python 3 installation....OK
Version: 3.9.6
Path: /Library/Developer/CommandLineTools/usr/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking Julia installation...
- Lingua principale
- JavaScript
- Stelle
- 6.1k
- Fork
- 476
- Merge medio
- 17h 16m
- PR unite (30g)
- 112
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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 quarto-dev/quarto-cli
-
bug lua
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
quarto-dev/quarto-cli#15226 ·
I maintainer di solito rispondono entro 1 giorno
-
bug code-annotation
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
quarto-dev/quarto-cli#15215 ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility bug website-navigation
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
quarto-dev/quarto-cli#15190 ·
I maintainer di solito rispondono entro 1 giorno
-
Navbar dropdown toggles have `role="link"`Forse già presa @Mittalnew l’ha presa 4 giorni fa. Apertaaccessibility bug website-navigation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
quarto-dev/quarto-cli#15188 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility bug html websites
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
quarto-dev/quarto-cli#15187 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di quarto-dev/quarto-cli
Issue simili
-
Package downloads never retry: getUrlWithResuming's retry catch cannot see a rejected requestAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
account: profile bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 5 giorni
-
ai-driven-fuzzing bug claude Minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
linagora/cozy-client#1777 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
NanmiCoder/dsh-agent-teams#326 ·
I maintainer di solito rispondono entro 1 giorno
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validationForse già presa @hivecommons-hive l’ha presa oggi. Apertaagent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
cncf/endusers#2006 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno