Skip to content

fix: add aria-expanded to sidebar and terminal toggle buttons#482

Merged
xiaolai merged 1 commit intomainfrom
fix/480-aria-expanded-toggle-buttons
Mar 20, 2026
Merged

fix: add aria-expanded to sidebar and terminal toggle buttons#482
xiaolai merged 1 commit intomainfrom
fix/480-aria-expanded-toggle-buttons

Conversation

@claude
Copy link
Contributor

@claude claude bot commented Mar 20, 2026

Summary

  • Added aria-expanded={true} to the sidebar close button in Sidebar.tsx
  • Added aria-expanded={terminalVisible} to the terminal toggle button in StatusBarRight.tsx
  • Screen reader users can now determine panel expanded/collapsed state

Closes #480

Test plan

  • Tab to sidebar toggle button — verify screen reader announces expanded state
  • Tab to terminal toggle button — verify screen reader announces expanded/collapsed state
  • Toggle terminal on/off — verify aria-expanded updates dynamically
  • pnpm check:all passes (lint + tests + build)

🤖 Generated with Claude Code

Screen reader users can now determine whether the sidebar or terminal
panel is expanded or collapsed.

Closes #480

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@claude claude bot enabled auto-merge (squash) March 20, 2026 09:41
@xiaolai xiaolai merged commit 2862652 into main Mar 20, 2026
3 checks passed
@xiaolai xiaolai deleted the fix/480-aria-expanded-toggle-buttons branch March 20, 2026 11:06
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.

[audit] accessibility: Sidebar and terminal toggle buttons missing aria-expanded

1 participant