fix: web interface guidelines compliance for frontend - #20
Merged
Conversation
Apply the Web Interface Guidelines audit findings: - a11y: textarea label/name, skip link, decorative emoji aria-hidden, aria-live on streaming panel, priority chips as keyboard-accessible toggles with aria-pressed - reduced-motion: disable animations under prefers-reduced-motion, respect it in smooth scroll - focus: visible ring on keyboard focus instead of outline-none only - dark mode: color-scheme + theme-color meta - perf: compositor-friendly shimmer (transform), drop transition-all - semantics: section spans to h2, heading levels, long-name truncation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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
web-design-guidelinesskill reviewaria-label+name+autocomplete="off", skip-to-content link,aria-hiddenon decorative emoji,aria-live="polite"on the streaming LLM panel, priority chips converted to keyboard-accessible toggles (role="button",tabIndex,aria-pressed, Enter/Space handlers)prefers-reduced-motion, honor it in smooth-scroll behaviorfocus-visiblering on the search textarea (wasoutline-nonewith only a 1px border change),:focus-visibleover:focuscolor-scheme: dark+<meta name="theme-color">(fixes light scrollbars/controls in dark theme)transformon a pseudo-element instead ofbackground-position(compositor-friendly);transition-all→transition(explicit Tailwind property list)span→h2, heading-level fixes, long package-name truncation in cardsTest plan
npm run lint— cleannpm test— 25/25 passnpm run build— production build + TS pass