Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[6.x]: Colored chips: link blue has low contrast on tinted backgrounds

オープン
#19,984 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@brandonkelly がすでに取り組んでいます。

2026年10月15日 から。

評価

この issue はまだ評価されていません。

説明

bug repo:cms
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
  1. Create entry types with different colors and icons
  2. View them in settings->entry types
  3. 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.

Image
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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

craftcms/cms のほかの issue

craftcms/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。