Skip to content

Add aria-hidden="true" to decorative terminal traffic-light bar - #44

Open
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-39-aria-hidden-terminal-dots
Open

Add aria-hidden="true" to decorative terminal traffic-light bar#44
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-39-aria-hidden-terminal-dots

Conversation

@claude

@claude claude Bot commented Jun 16, 2026

Copy link
Copy Markdown

Fixes #39

What changed

Added aria-hidden="true" to <div class="bar"> in demo/index.html (the macOS-style window control dot row inside the terminal widget).

Why

The three <i> elements are purely decorative colored dots — they convey no information to screen reader users. Without aria-hidden, assistive technologies may announce them as empty or presentational elements. Applying the attribute to the parent <div class="bar"> hides the entire decoration from the accessibility tree in one change, which is cleaner than annotating each <i> individually.

How to verify

Open demo/index.html, inspect the .bar element in DevTools Accessibility panel — it should show as hidden from the accessibility tree. No visual change.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Add aria-hidden="true" to decorative terminal traffic-light dot elements

0 participants