Skip to content

🎨 Palette: 빈 디렉토리(Empty State)의 UI 일관성 및 접근성 개선 - #252

Closed
seonghobae wants to merge 1 commit into
masterfrom
palette-empty-state-ux-4823324895692884004
Closed

🎨 Palette: 빈 디렉토리(Empty State)의 UI 일관성 및 접근성 개선#252
seonghobae wants to merge 1 commit into
masterfrom
palette-empty-state-ux-4823324895692884004

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator

💡 What: 빈 디렉토리를 안내하는 텍스트에 폴더 아이콘을 추가하고 Flexbox 정렬을 적용했으며, ARIA role="status"를 부여했습니다.
🎯 Why: 기존에는 빈 상태가 일반 리스트 아이템과 시각적으로 다르게 보여 일관성이 떨어졌으며, 스크린 리더 환경에서는 단순히 텍스트만 읽혀 상태 변화에 대한 명확한 인지가 부족했습니다.
📸 Before/After: 변경 전 <li><div class="empty-dir">이 디렉토리는 비어 있습니다.</div></li> 에서 변경 후 아이콘(&#128194;) 및 Flexbox 레이아웃 적용.
♿ Accessibility: role="status"를 추가하여 스크린 리더 사용자가 현재 폴더에 항목이 없음을 즉시 인지하도록 개선했으며, 장식용 폴더 아이콘에는 aria-hidden="true"를 적용하여 혼동을 방지했습니다.


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

CopilotAI review requested due to automatic review settings July 23, 2026 21:01
@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.

CopilotAI 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

Improves the generated directory listing HTML’s empty-state rendering so it visually aligns with regular list items and is more accessible for screen readers.

Changes:

  • Render an empty directory entry with a folder icon and flex layout, and add role="status" for clearer announcement.
  • Update the CSS for .empty-dir to use flexbox alignment and spacing.
  • Extend the empty-directory test assertions and document the learning in .jules/palette.md.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

FileDescription
src/main/kotlin/html4tree/main.ktAdds flex styling for .empty-dir and updates empty-state markup to include an icon and role="status".
src/test/kotlin/html4tree/MainTest.ktAdds assertions to validate the new empty-state accessibility/markup.
.jules/palette.mdRecords the accessibility/UI consistency learning and action item for empty states.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 94 to 99
val htmlContent = indexFile.readText()
assertTrue(htmlContent.contains("<html lang=\"ko\">"))
assertTrue(htmlContent.contains("이 디렉토리는 비어 있습니다."))
assertTrue(htmlContent.contains("role=\"status\""))
assertTrue(htmlContent.contains("&#128194;"))
assertTrue(htmlContent.contains("role=\"list\""))
@seonghobaeChatGPT Codex Connector

Copy link
Copy Markdown
CollaboratorAuthor

Closing as superseded by #262 at exact head 642fc98ae09329e158e6cba9974a7894c89dd3e3. The production markup and styling are identical; #262 additionally verifies the decorative icon's aria-hidden contract. Consolidating on the stronger test branch prevents competing conflict repair and duplicate exact-head CI.

@google-labs-jules

Copy link
Copy Markdown

Closing as superseded by #262 at exact head 642fc98ae09329e158e6cba9974a7894c89dd3e3. The production markup and styling are identical; #262 additionally verifies the decorative icon's aria-hidden contract. Consolidating on the stronger test branch prevents competing conflict repair and duplicate exact-head CI.

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

Sign up for freeto 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.

2 participants

@seonghobae