Skip to content
Merged
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
6 changes: 6 additions & 0 deletions commit_message.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
🎨 Palette: [UX improvement] μ–Έμ–΄ μ „ν™˜ λ²„νŠΌ μ ‘κ·Όμ„± 및 ν˜Έλ²„ μŠ€νƒ€μΌ κ°œμ„ 

πŸ’‘ What: μ–Έμ–΄ μ „ν™˜ λ²„νŠΌμ— `aria-label` μΆ”κ°€ 및 λ²„νŠΌ μš”μ†Œλ“€μ— `hover` μ‹œ `opacity` λ³€ν™” νŠΈλžœμ§€μ…˜ μΆ”κ°€
🎯 Why: 슀크린 리더 μ‚¬μš©μžκ°€ μΆ•μ•½μ–΄(KO, EN) λŒ€μ‹  λͺ…ν™•ν•œ μ–Έμ–΄λͺ…을 μΈμ§€ν•˜κ²Œ ν•˜κ³ , 일반 μ‚¬μš©μžκ°€ μΈν„°λž™ν‹°λΈŒ μš”μ†Œμ— λŒ€ν•œ μ‹œκ°μ  ν”Όλ“œλ°±μ„ 받을 수 μžˆλ„λ‘ κ°œμ„ 
πŸ“Έ Before/After: λ²„νŠΌ ν˜Έλ²„ μ‹œ opacityκ°€ 0.8둜 λΆ€λ“œλŸ½κ²Œ 변경됨
β™Ώ Accessibility: `aria-label`을 ν†΅ν•œ 슀크린 리더 μŒμ„± ν”Όλ“œλ°± μ΅œμ ν™”
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<a target="_blank" rel="noopener noreferrer" href="https://github.com/ContextualWisdomLab">GitHub</a>
</nav>
<div class="language-switch" role="group" aria-label="Language">
<button type="button" data-lang="ko" aria-pressed="true">KO</button>
<button type="button" data-lang="en" aria-pressed="false">EN</button>
<button type="button" data-lang="ko" lang="ko" aria-pressed="true" aria-label="ν•œκ΅­μ–΄">KO</button>
<button type="button" data-lang="en" lang="en" aria-pressed="false" aria-label="English">EN</button>
</div>
</header>

Expand Down
10 changes: 10 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ a {
font-size: 13px;
font-weight: 850;
cursor: pointer;
transition: opacity 0.2s;
}

.language-switch button:not([aria-pressed="true"]):hover {
opacity: 0.8;
}

.language-switch button[aria-pressed="true"] {
Expand Down Expand Up @@ -212,6 +217,11 @@ h1 {
text-decoration: none;
font-size: 15px;
font-weight: 800;
transition: opacity 0.2s;
}

.button:hover {
opacity: 0.8;
}

.button.primary {
Expand Down