Open
Conversation
Document comprehensive plan for WCAG 2.1 AA compliance including: - Phase 1: Keyboard support for split bar resizing - Phase 2: Keyboard support for panel drag/drop - Phase 3: Screen reader announcements via live regions - Phase 4: ARIA props and semantic guidance - Phase 5: Focus management utilities - Phase 6: Documentation and accessible examples https://claude.ai/code/session_01ELioHekwWTViQPvEVztwyE
Phase 1 - Keyboard support for split bar resizing: - Add resizePanelByDelta() method to LayoutManager for keyboard-based resize - Add getSplitRatio() and getAdjacentPanelIds() helper methods - Split bars now focusable with Tab, resizable with Arrow keys - Shift+Arrow for larger increments, Home/End for min/max Phase 2 - Keyboard support for panel drag/drop: - Add keyboard move mode activated by Enter/Space on drag handle - Arrow keys cycle through available drop targets - Enter confirms drop, Escape cancels - Visual feedback during keyboard move mode Phase 3 - Live region announcements: - Add announce() function for screen reader messages - Automatic announcements for all layout operations - Panel add/remove, resize, and move operations announced - Drop target navigation announced during keyboard move Phase 4 - ARIA props helpers: - Export getPanelA11yProps() for panel regions - Export getSplitBarA11yProps() with full separator semantics - aria-valuenow, aria-valuemin, aria-valuemax for split bars - aria-controls linking split bars to adjacent panels Phase 5 - Focus management: - Track focusedPanelId state - Automatically focus newly added panels - Move focus to nearest panel when removing - Focus preserved after keyboard drop operations Phase 6 - Demo updates: - Full accessibility implementation in App.tsx - Screen reader announcement region - Visible focus indicators on split bars - Hidden instructions for drag handles - Keyboard usage hints displayed New exports: DropTarget, AnnouncementProps, PanelA11yProps, SplitBarA11yProps https://claude.ai/code/session_01ELioHekwWTViQPvEVztwyE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Document comprehensive plan for WCAG 2.1 AA compliance including:
https://claude.ai/code/session_01ELioHekwWTViQPvEVztwyE