arrow-dark gives region markers a light band that fails contrast
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 88/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
調査の方向性
issue にリンクされたテーマファイル src/resources/pandoc/highlight-styles/arrow-dark.theme から始めて、RegionMarker ルールを調べてください。マーカーがコードブロックの暗い背景を使うよう、明るい背景を削除してください。レンダリング後の code span.re にほぼ白い帯がなくなり、シアンのテキストが暗い背景上で読みやすくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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...
- 主要言語
- JavaScript
- スター
- 6.1k
- フォーク
- 476
- 平均マージ
- 17時間 16分
- マージ済み PR(30日)
- 112
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quarto-dev/quarto-cli のほかの issue
-
bug lua
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
quarto-dev/quarto-cli#15226 ·
メンテナーはふだん 1 日以内に返信
-
bug code-annotation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
quarto-dev/quarto-cli#15215 ·
メンテナーはふだん 1 日以内に返信
-
accessibility bug website-navigation
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
quarto-dev/quarto-cli#15190 ·
メンテナーはふだん 1 日以内に返信
-
Navbar dropdown toggles have `role="link"`対応中かも @Mittalnew が 4 日前に担当しました。 オープンaccessibility bug website-navigation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
quarto-dev/quarto-cli#15188 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
accessibility bug html websites
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
quarto-dev/quarto-cli#15187 ·
メンテナーはふだん 1 日以内に返信
quarto-dev/quarto-cli の issue をすべて見る
似ている issue
-
step.duration reflects only the last retry attempt (HelperStep.run() overwrites startTime)対応中かも @mirao が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codeceptjs/CodeceptJS#5774 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Status: Unconfirmed
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AllTheMods/ATM10-Aeronautics#151 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
feimacode/open-design-agent-kit#66 ·
メンテナーはふだん 1 日以内に返信