-
Notifications
You must be signed in to change notification settings - Fork 229
frontend: ARIA #8636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
haraldschilly
wants to merge
8
commits into
master
Choose a base branch
from
aria-20251024
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
frontend: ARIA #8636
Conversation
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
1d0860d to
c94b46b
Compare
c94b46b to
5b74a7c
Compare
Enhanced ARIA accessibility for the core editor frame system (Phase 10) with comprehensive landmark labels and live region support: **Frame Tree System (title-bar.tsx)**: - Menu navigation: Changed div to <nav> with aria-label - Frame controls region: Added role="region" with layout controls label - Symbol/outline bar: Added role="region" with descriptive label - Control buttons: Added aria-labels to split, maximize, minimize, close buttons - Connection status: Added aria-live="polite" for real-time updates - All buttons: Added aria-expanded for dynamic state indication **Editor Container (editor.tsx)**: - Added role="application" with context-aware aria-label including editor type and path - Enables proper keyboard navigation and focus management **Status Bar (status-bar.tsx)**: - Converted to ARIA live region with role="status" - Added aria-live="polite" and aria-atomic="true" for status announcements - Made clear button keyboard accessible **Icon Component Enhancement (components/icon.tsx)**: - Added ARIA attribute support (role, aria-label, aria-expanded, aria-pressed, aria-live, tabIndex) - Enables Icon to be used with accessibility roles like "button" - Updated unicode and icon rendering paths to pass ARIA attributes **Testing**: - Build successful: pnpm build-dev in packages/static ✅ 🧠 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
e303368 to
84c24f1
Compare
Document the pattern of applying ARIA attributes directly to Ant Design components that support them, rather than wrapping in unnecessary divs. Example: - ✅ <Space.Compact role="region" aria-label="Zoom controls"> - ❌ <div role="region"><Space.Compact> Also note that components should forward ARIA props to their DOM elements.
84c24f1 to
f7b51b0
Compare
4c669a1 to
f4af5f8
Compare
f4af5f8 to
7ea5f91
Compare
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.
just getting started. with the code here, there are aria landmarks with labels. those labels describe what this is (e.g. a jupyter cell, its number, type, and if it is active). Such descriptive labels are useful for those browsers, that read out loud the labels.
here is aria landmarks highlighting all so far. what I don't know yet, how to navigate with the keyboard. there must be a way, though, since this is a tree and has horizontal and vertical orientation.