-
Notifications
You must be signed in to change notification settings - Fork 0
π¨ Palette: [μ κ·Όμ± κ°μ ] λ€λΉκ²μ΄μ λλλ§ν¬μ λ²μ νΈνμ± ν₯μ #616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -331,7 +331,8 @@ class MainTest { | |||||||||||
| assertTrue(htmlContent.contains("<meta name=\"theme-color\" content=\"#ffffff\" media=\"(prefers-color-scheme: light)\">")) | ||||||||||||
| assertTrue(htmlContent.contains("<meta name=\"theme-color\" content=\"#0d1117\" media=\"(prefers-color-scheme: dark)\">")) | ||||||||||||
| assertRobotsDirective(htmlContent) | ||||||||||||
| assertTrue(htmlContent.contains("<nav aria-label=\"λλ ν 리 λͺ©λ‘\">")) | ||||||||||||
| assertTrue(htmlContent.contains("<nav aria-labelledby=\"nav-heading\">")) | ||||||||||||
| assertTrue(htmlContent.contains("<h2 id=\"nav-heading\" class=\"visually-hidden\">λλ ν 리 λͺ©λ‘</h2>")) | ||||||||||||
|
Comment on lines
+334
to
+335
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π Maintainability & Code Quality | π‘ Minor | β‘ Quick win
νμ¬ ν
μ€νΈλ μ λ§ν¬μ
μ μ‘΄μ¬λ§ νμΈν©λλ€. μμ±κΈ°κ° ν μ€νΈ λ³΄κ° μμ assertTrue(htmlContent.contains("<nav aria-labelledby=\"nav-heading\">"))
assertTrue(htmlContent.contains("<h2 id=\"nav-heading\" class=\"visually-hidden\">λλ ν 리 λͺ©λ‘</h2>"))
+ assertFalse(htmlContent.contains("aria-label=\"λλ ν 리 λͺ©λ‘\""))π Committable suggestion
Suggested change
π€ Prompt for AI Agents |
||||||||||||
| assertTrue(htmlContent.contains("role=\"list\"")) | ||||||||||||
| assertTrue(htmlContent.contains("<main>")) | ||||||||||||
| assertTrue(htmlContent.contains("</main>")) | ||||||||||||
|
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Maintainability & Code Quality | π‘ Minor | β‘ Quick win
μ κ·Όμ± λΌλ²¨ κ·μΉμ ꡬνκ³Ό λ¬Έμμμ μΌκ΄λκ² μ 리νμμμ€.
src/main/kotlin/html4tree/main.kt#L430-L431:<nav aria-label>μꡬμ¬νμ μ μ§νκ±°λ ν΄λΉ μ μ₯μ κ·μΉμ κ°±μ νμμμ€..jules/palette.md#L76-L79: ꡬνμ μ μ§ν κ²½μ°aria-labelledbyμ λ΅μ΄ 곡μ κ·μΉμ λ체νλ€λ λ΄μ©μ ν¨κ» λ°μνμμμ€.As per coding guidelines:
use a <nav aria-label> landmark.π Affects 2 files
src/main/kotlin/html4tree/main.kt#L430-L431(this comment).jules/palette.md#L76-L79π€ Prompt for AI Agents
Source: Coding guidelines