[6.x]: Colored chips: link blue has low contrast on tinted backgrounds
メンテナーはふだん 1 日以内に返信
@brandonkelly がすでに取り組んでいます。
2026年10月15日 から。
評価
この issue はまだ評価されていません。
説明
What happened?
Description
Link text in Craft 6 alpha is blue on purpose, so links can be told apart from surrounding text. That works in general, but not on colored chips. The label is a link sitting on a tinted background, and on several colors (pink, orange, green, yellow) contrast falls below the 4.5:1 minimum for WCAG 1.4.3. The blue and lavender chips are weak too, since the text is close to the background hue.
Steps to reproduce
- Create entry types with different colors and icons
- View them in
settings->entry types - Compare the label color to the chip background
Expected
Chip labels keep a clear link treatment but reach 4.5:1 on every chip color, in light and dark mode. For example, a darker blue per chip color, or the dark icon shade plus an underline.
Actual
The default link blue is used on every chip color, and on several of them the contrast against the tinted background is below the 4.5:1 minimum.
Screenshot attached.
Craft CMS version
Craft 6.x-dev
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
- 主要言語
- PHP
- スター
- 3.6k
- フォーク
- 708
- 平均マージ
- 13時間 2分
- マージ済み PR(30日)
- 265
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
craftcms/cms のほかの issue
-
bug repo:cms
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
craftcms/cms#20015 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug repo:cms
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
craftcms/cms#20011 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug repo:cms
難易度 3/5 半日 初心者へのやさしさ 51/100
craftcms/cms#20009 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug repo:cms
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
craftcms/cms#19980 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[6.x]: Text in some input fields is clipped at the bottom on Windows対応中かも @brianjhanson が 9 日前に担当しました。 オープンbug repo:cms
craftcms/cms#19928 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
[Enhancement] Add a dark-bg Tailwind variant対応中かも @bd-viget が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
vigetlabs/wordpress-site-starter#306 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Spomky-Labs/pwa-bundle#476 ·
-
domain/discovery
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
code4romania/cpc#64 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信