Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

a11y: appendix code <details><summary> fails color-contrast

未关闭 适合新手
#14,383 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
css, html

调研方向

从影响 .quarto-appendix-contents  .cell  details  summary 的样式开始,使用 post/post-1 中链接的无障碍 reprex 和 axe 的 color-contrast 规则重现该失败。更新附录代码披露摘要的样式,使其前景色和背景色满足 WCAG AA 对比度要求,然后重新运行无障碍检查,以确认该违规问题已消失。

由索引模型根据 Issue 内容生成。

描述

accessibility bug themes

Reported in #14373.

Repro: https://github.com/alexpghayes/quarto-accessibility-reprex (post/post-1)

axe rule: color-contrast · impact: serious · tag: wcag2aa (1.4.3)
Target: .quarto-appendix-contents > .cell > details > summary — rendered as <summary>Code</summary>

The appendix "Code" disclosure summary is styled with a foreground color that fails WCAG AA contrast against the appendix background.

Part of #8706.

主要语言
JavaScript
星标
6k
派生
461
平均合并
13 小时 52 分钟
30 天内合并 PR
52

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

quarto-dev/quarto-cli 的其他 Issue

查看 quarto-dev/quarto-cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。