fix(a11y): 질문의 「다음 검증」 라벨을 WCAG AA 대비로 올린다
Question 화면의 「다음 검증」 상자 안 라벨(「왜 다음인가」 등)은 --faint(#6c6f76)를 info 바탕(#eef1fc) 위에 쓴다. 대비가 4.46:1이라 WCAG AA 4.5:1에 못 미친다. axe가 세 엔진 모두에서 color-contrast serious로 잡아 FE-GATE-009(TECH_LOG_QUESTION)가 떨어진다. 이 두 라벨만 --muted(#5a5d64)로 바꾼다. 같은 바탕에서 5.85:1이다. --faint 토큰 자체는 흰 바탕에서 5.03:1이라 다른 곳은 문제가 없어서 건드리지 않는다. 위험: 라벨 글자가 조금 진해진다. visual 기준 이미지 가운데 Question 화면이 바뀐다. visual 기준 이미지는 이 변경과 상관없이 8월 18일 것이라 전부 다시 검토해야 한다(PR 본문). 검증: test:a11y에서 TECH_LOG_QUESTION이 chromium·firefox·webkit 모두 통과한다(고치기 전 세 엔진 모두 color-contrast 실패).
This commit is contained in:
@@ -3443,10 +3443,12 @@ summary {
|
|||||||
margin-top: 22px;
|
margin-top: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* The box is the info surface (#eef1fc), where `--faint` is 4.46:1 and misses
|
||||||
|
WCAG AA; `--muted` is 5.85:1 there. */
|
||||||
.next-validation-why > p,
|
.next-validation-why > p,
|
||||||
.next-validation-how > p {
|
.next-validation-how > p {
|
||||||
margin: 0 0 8px;
|
margin: 0 0 8px;
|
||||||
color: var(--faint);
|
color: var(--muted);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 650;
|
font-weight: 650;
|
||||||
letter-spacing: 0.06em;
|
letter-spacing: 0.06em;
|
||||||
|
|||||||
Reference in New Issue
Block a user