Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
## 2024-06-25 - Improve Color Contrast
**Learning:** Found that using `--gold` for text on white or light backgrounds (like `--paper`) fails WCAG AA contrast standards, making the text difficult to read for some users.
**Action:** Avoid using `--gold` on light backgrounds. Instead, use alternatives with better contrast like `--teal`. Retain `--gold` for dark backgrounds (like `--ink`) where it provides excellent contrast.

## 2024-06-25 - Respect prefers-reduced-motion
**Learning:** Users who have a vestibular disorder or prefer reduced motion can be negatively impacted by smooth scrolling or CSS transitions.
**Action:** Always include a `@media (prefers-reduced-motion: reduce)` media query that disables smooth scrolling (`scroll-behavior: auto !important`) and removes animation/transition durations globally.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CHANGELOG

## [Unreleased]
- **μ ‘κ·Όμ„± κ°œμ„ **: μ „μ • κΈ°κ΄€ μž₯μ• κ°€ μžˆκ±°λ‚˜ μ• λ‹ˆλ©”μ΄μ…˜μ„ μ΅œμ†Œν™”ν•˜λ €λŠ” μ‚¬μš©μžλ₯Ό μœ„ν•΄ `prefers-reduced-motion` λ―Έλ””μ–΄ 쿼리λ₯Ό μΆ”κ°€ν•˜μ—¬ λΆ€λ“œλŸ¬μš΄ 슀크둀 및 νŠΈλžœμ§€μ…˜μ„ λΉ„ν™œμ„±ν™”ν–ˆμŠ΅λ‹ˆλ‹€.
- **UX κ°œμ„ **: λ‚΄λΉ„κ²Œμ΄μ…˜ 링크(`.site-nav a`, `.intro-lnb a`)에 ν˜Έλ²„ μ‹œ λΆ€λ“œλŸ¬μš΄ 색상 μ „ν™˜ νŠΈλžœμ§€μ…˜μ„ μΆ”κ°€ν–ˆμŠ΅λ‹ˆλ‹€.
- **μ„±λŠ₯ κ°œμ„ **: `i18n.js`μ—μ„œ 초기 λ‘œλ“œ μ‹œ κΈ°λ³Έ μ–Έμ–΄κ°€ ν•œκ΅­μ–΄(ko)인 경우 λΆˆν•„μš”ν•œ DOM 순회 및 ν…μŠ€νŠΈ μ—…λ°μ΄νŠΈλ₯Ό μƒλž΅ν•˜λ„λ‘ κ°œμ„ ν–ˆμŠ΅λ‹ˆλ‹€.
- **ν…ŒμŠ€νŠΈ μΆ”κ°€**: λ‹€κ΅­μ–΄ 처리 둜직의 무결성을 κ²€μ¦ν•˜κΈ° μœ„ν•΄ `test_i18n.html` ν…ŒμŠ€νŠΈ νŒŒμΌμ„ μΆ”κ°€ν–ˆμŠ΅λ‹ˆλ‹€.
14 changes: 14 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ a {
.site-nav a,
.intro-lnb a {
text-decoration: none;
transition: color 0.2s ease;
}

.site-nav a:hover,
Expand Down Expand Up @@ -777,6 +778,19 @@ h1 {
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto !important;
}

*, *::before, *::after {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
}
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
Expand Down
Loading