feat: frontend accessibility, ARIA, keyboard nav, empty/loading states#86
Open
feat: frontend accessibility, ARIA, keyboard nav, empty/loading states#86
Conversation
Covers all 23 WCAG 2.1 AA issues across standalone HTML visualization and VS Code webview: distinct node shapes, contrast fixes, keyboard navigation, ARIA roles, edge differentiation, and minor polish. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace Catppuccin Mocha colors (File=#cba6f7, Class=#f9e2af, Function=#a6e3a1) with GitHub Dark palette (File=#58a6ff, Class=#f0883e, Function=#3fb950) across NODE_COLOR, EDGE_COLOR, NODE_RADIUS, edge filter pills, tooltip CSS, and selection highlight color (#f5e0dc → #e6edf3). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…imum Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…HTML Brings standalone HTML visualization to feature parity with the VS Code extension by adding 3 missing edge types: EDGE_COLOR entries, EDGE_CFG configurations, SVG arrow markers, and legend items for IMPLEMENTS, TESTED_BY, and DEPENDS_ON. Adds a regression test verifying all 7 edge types appear in generated HTML. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…d users Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…er, escape) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…esults, communities button Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Includes VS Code webview path rendering (SVGCircleElement -> SVGPathElement), unified color palette in graph.ts, and symbolCross test assertion. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…lp overlay Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…alization Expands the existing keyboard-shortcut overlay to include a full interaction guide (click a file, shift-click, drag, scroll, etc.) and a dismiss hint, so new users can discover the graph's interactions at a glance. Adds a corresponding test. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…bview Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… to VS Code webview - Edge pills: role=button, tabindex, aria-pressed, aria-label, title - Search input: aria-label - Depth slider: title explaining behavior - Empty state div in graph-area - Tooltip: role=tooltip, aria-live=polite - Node count: aria-live=polite - Edge pill inactive opacity 0.45 -> 0.55 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…eyboard support in VS Code Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…anels Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…alization tests Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e style override The CSS rule used 0.35 while JS set 0.4 inline. Align CSS to 0.4 (matching spec) and remove the JS inline opacity overrides since the CSS :disabled selector handles it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
/to focus search,?for help overlay,Escapeto close panels,Enter/Spaceon edge toggles, arrow keys between connected nodes.aria-pressedon toggle buttons,aria-live="polite"on tooltip and node count,role="listbox"+role="option"on search results,aria-modalon dialogs..dp-closeraised to #b0b8c4, placeholder to #6e7681, tooltip labels to #9eaab6 — all meeting WCAG AA 4.5:1.aria-pressedtoggle, depth slider disabled when no node selected, empty state, tooltip uses CSS variables.?key or button.Test plan
ruff checkcleantsc --noEmitclean🤖 Generated with Claude Code