Skip to content

🎨 Palette: [μ ‘κ·Όμ„± κ°œμ„ ] μƒμ„±λ˜λŠ” HTML 인덱슀의 슀크린 리더 지원 μΆ”κ°€ 및 100% ν…ŒμŠ€νŠΈ 컀버리지 - #35

Closed
seonghobae wants to merge 3 commits into
masterfrom
palette-a11y-improvements-6391986942347728371

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator

πŸ’‘ What: μƒμ„±λ˜λŠ” index.html νŒŒμΌμ— <html lang="en">, charset, viewport 메타 νƒœκ·Έλ₯Ό μΆ”κ°€ν•˜κ³ , μ‹œκ°μ  이λͺ¨ν‹°μ½˜(πŸ“, β–Ή)에 μ˜μ‘΄ν•˜λŠ” 파일 λ¦¬μŠ€νŠΈμ— 슀크린 리더λ₯Ό μœ„ν•œ λͺ…ν™•ν•œ aria-label 속성을 λΆ€μ—¬ν–ˆμŠ΅λ‹ˆλ‹€. μΆ”κ°€λ‘œ, μ‚¬μš©μž 지침에 따라 100% ν…ŒμŠ€νŠΈ 컀버리지λ₯Ό λ‹¬μ„±ν•˜κΈ° μœ„ν•΄ 쒅합적인 λ‹¨μœ„ ν…ŒμŠ€νŠΈμ™€ Jacoco 섀정을 κ΅¬ν˜„ν–ˆμŠ΅λ‹ˆλ‹€.
🎯 Why: 기쑴에 μƒμ„±λ˜λ˜ HTML은 λͺ¨λ°”일 λ°˜μ‘ν˜•κ³Ό 기본적인 μ–Έμ–΄/인코딩 섀정이 λˆ„λ½λ˜μ–΄ μžˆμ—ˆκ³ , 슀크린 리더 μ‚¬μš©μžκ°€ 이λͺ¨ν‹°μ½˜λ§ŒμœΌλ‘œλŠ” 디렉토리와 νŒŒμΌμ„ λͺ…ν™•νžˆ κ΅¬λΆ„ν•˜κΈ° μ–΄λ €μ› μŠ΅λ‹ˆλ‹€. ν…ŒμŠ€νŠΈ μ»€λ²„λ¦¬μ§€λŠ” μ‹œμŠ€ν…œμ˜ μ•ˆμ •μ„±μ„ 보μž₯ν•˜κΈ° μœ„ν•¨μž…λ‹ˆλ‹€.
πŸ“Έ Before/After: μ‹œκ°μ  λ³€ν™” μ—†μŒ (λ‚΄λΆ€ HTML ꡬ쑰 λ³€κ²½)
β™Ώ Accessibility: 이λͺ¨ν‹°μ½˜ 링크에 aria-label="Parent directory", aria-label="Directory: [name]", aria-label="File: [name]" 속성을 λΆ€μ—¬ν•˜μ—¬ 슀크린 리더 μ‚¬μš©μ„±μ„ λŒ€ν­ κ°œμ„ ν–ˆμŠ΅λ‹ˆλ‹€. λͺ¨λ°”일 ν™˜κ²½μ—μ„œμ˜ ν™”λ©΄ 배율 문제(viewport μΆ”κ°€)λ₯Ό ν•΄κ²°ν–ˆμŠ΅λ‹ˆλ‹€.


PR created automatically by Jules for task 6391986942347728371 started by @seonghobae

- HTML 메타 νƒœκ·Έ μΆ”κ°€ (`lang`, `charset`, `viewport`)
- 슀크린 λ¦¬λ”μš© `aria-label` μΆ”κ°€ (폴더 및 파일 λͺ…ν™•ν™”)
- Jacoco μ„€μ • 및 λ‹¨μœ„ ν…ŒμŠ€νŠΈ μΆ”κ°€λ‘œ 100% 라인 컀버리지 달성
@google-labs-jules

Copy link
Copy Markdown

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI review requested due to automatic review settings June 27, 2026 03:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the accessibility and baseline HTML metadata of the generated directory index.html output, and adds JaCoCo + unit tests to enforce 100% test coverage across the project.

Changes:

  • Add <html lang="en">, charset, and viewport meta tags to generated HTML and introduce aria-label attributes for navigation/file links.
  • Add comprehensive JUnit tests covering HTML generation, CLI behavior, ignore rules, and utility structures.
  • Configure JaCoCo reporting and enforce 100% coverage via jacocoTestCoverageVerification.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/main/kotlin/html4tree/main.kt Adds HTML language/metadata and aria-label attributes to improve screen reader and mobile support.
build.gradle Introduces JaCoCo plugin configuration and enforces 100% coverage in check.
src/test/kotlin/html4tree/MainKtTest.kt Adds end-to-end and unit tests for escaping, ignore rules, traversal, CLI entrypoints, and error cases.
src/test/kotlin/html4tree/LinkedListTest.kt Adds tests for LinkedList behavior and setter/getter coverage.
.Jules/palette.md Documents the accessibility learning/action for future palette tasks.

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/test/kotlin/html4tree/MainKtTest.kt Outdated
Comment thread src/test/kotlin/html4tree/MainKtTest.kt
Comment thread src/test/kotlin/html4tree/MainKtTest.kt Outdated
Comment thread src/test/kotlin/html4tree/LinkedListTest.kt Outdated
@seonghobae

Copy link
Copy Markdown
Collaborator Author

Closing as superseded by already-merged accessibility coverage (#23 and #29). Current master already verifies generated HTML language, charset/viewport, focus styling surface, semantic landmarks, hidden decorative icons, and Korean aria-labels for files/directories. This stale branch asserts the older English Directory:/File: label format and would drop newer security/accessibility changes if merged as-is.

@seonghobae seonghobae closed this Jun 30, 2026
@google-labs-jules

Copy link
Copy Markdown

Closing as superseded by already-merged accessibility coverage (#23 and #29). Current master already verifies generated HTML language, charset/viewport, focus styling surface, semantic landmarks, hidden decorative icons, and Korean aria-labels for files/directories. This stale branch asserts the older English Directory:/File: label format and would drop newer security/accessibility changes if merged as-is.

Understood. Acknowledging that this work is now obsolete and stopping work on this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants