Skip to content
Closed
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
3 changes: 3 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2024-06-26 - [Add Accessibility Meta Tags & Focus States]
**Learning:** The generated index.html directory trees were completely lacking basic accessibility metadata (`lang`, viewport, charset) and critical keyboard focus indicators for the links, rendering them unnavigable for screen readers or keyboard-only users.
**Action:** Always inject `lang`, charset, viewport meta tags, and `:focus` styles into raw, generated HTML string templates to ensure baseline accessibility compliance.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ๋ณ€๊ฒฝ ์‚ฌํ•ญ

## [Unreleased]
### ์ถ”๊ฐ€๋จ
- ์ƒ์„ฑ๋˜๋Š” `index.html` ํŒŒ์ผ์— ์ ‘๊ทผ์„ฑ ๋ฐ ๋ชจ๋ฐ”์ผ ๋ฐ˜์‘์„ฑ์„ ์œ„ํ•œ ํ–ฅ์ƒ๋œ ๊ธฐ๋Šฅ ์ถ”๊ฐ€:
- `<html>` ํƒœ๊ทธ์— `lang="en"` ์†์„ฑ ์ถ”๊ฐ€
- ๋ชจ๋ฐ”์ผ ๋ฐ˜์‘์„ฑ์„ ์œ„ํ•œ `<meta name="viewport">` ํƒœ๊ทธ ์ถ”๊ฐ€
- ๋ฌธ์ž ์ธ์ฝ”๋”ฉ์„ ๋ช…์‹œํ•˜๋Š” `<meta charset="UTF-8">` ํƒœ๊ทธ ์ถ”๊ฐ€
- ํ‚ค๋ณด๋“œ ํƒ์ƒ‰ ๊ฐ€์‹œ์„ฑ์„ ๋†’์ด๊ธฐ ์œ„ํ•ด ๋งํฌ์— `:hover` ๋ฐ `:focus` ์Šคํƒ€์ผ ์ถ”๊ฐ€
- ์ „์ฒด ์ฝ”๋“œ๋ฒ ์ด์Šค(`MainKt` ๋ฐ `LinkedList`)์— ๋Œ€ํ•œ 100% ํ…Œ์ŠคํŠธ ์ปค๋ฒ„๋ฆฌ์ง€ ๋‹ฌ์„ฑ์„ ์œ„ํ•œ ๋‹จ์œ„ ํ…Œ์ŠคํŠธ ์ถ”๊ฐ€
- ํ…Œ์ŠคํŠธ ์ปค๋ฒ„๋ฆฌ์ง€ ์ธก์ •์„ ์œ„ํ•œ Jacoco ํ”Œ๋Ÿฌ๊ทธ์ธ ์ถ”๊ฐ€
2 changes: 1 addition & 1 deletion src/main/kotlin/html4tree/util.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class LinkedList {
if(l == null){
return null
} else {
l.next = null
l.next = null
return LinkedListEntry(l.data, l.level)
}
}
Expand Down