Skip to content

Conversation

@RoyEJohnson
Copy link
Contributor

@RoyEJohnson RoyEJohnson commented Nov 26, 2025

OpenStaxClaude and others added 2 commits November 25, 2025 22:59
Creates a unified TOCControlButton component that maintains focus when
toggling the table of contents state. This fixes the accessibility issue
where focus was lost when the button state changed.

Changes:
- Added TOCControlButton component with aria-expanded and aria-controls
- Replaced OpenTOCControl and CloseTOCControl with single TOCControlButton
- Button now uses simplified "Table of Contents" label
- Button maintains focus across state changes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

4 participants