Repository navigation
Conversation
…view axe-core (WCAG 2.1 A/AA and best practice) on every view at 1440 and 390 px (20 audits) found 6 rules broken; all 20 now report 0 violations. - Contrast: 12 failing colour pairs, as low as 2.3:1. Green text #10a37f -> #11ad87, green buttons with white text -> #0d8467 (dark text on green and decorative greens keep #10a37f), grey hints #666/#777 -> #999, the blue Save button -> #006fef. Each is the smallest change that reaches 4.5:1. - Landmarks: all views sit in one <main> (the chat column, which was the only <main>, is a named section); the two sidebars have distinct names. - The ComfyUI and LoRA views had no h1: their titles are h1 now, same look. - The prompt template select had only a title; it has an aria-label. - The LoRA card, dimmed when the workflow has no LoRA node, is aria-disabled too (its inputs were already disabled). - The "Ollama is not running" banner was inserted before <head> (its ".status-dots" anchor no longer exists), so it rendered in Times New Roman outside <body>. It is the first element of <body> now, a named section. Co-Authored-By: Claude Opus 5.5 <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.
I ran axe-core (WCAG 2.1 A/AA plus best practice) on every view of the web UI (Home, Chat, Docs, ComfyUI, LoRA and its Projects, Dataset, Training and Library tabs) at 1440 px and 390 px, 20 audits in all. It found 6 broken rules. After this PR, all 20 report 0 violations.
Contrast (serious): 12 failing colour pairs, the worst at 2.3:1. Each fix is the smallest lightness change, same hue, that reaches 4.5:1 everywhere the colour is used:
#10a37f#11ad87#10a37f#0d8467#666/#777#999#4a9eff#006fefDark text on green (the active chat, the user's bubbles) and the decorative greens keep
#10a37f. They already passed, at 6.7:1.Other fixes:
<main>. The chat column, which was the only<main>, becomes a named section. The two sidebars get distinct names.h1. Their titles areh1now, with the same look.title; it now has anaria-label.aria-disabledtoo. Its inputs were already disabled.<head>, because its.status-dotsanchor no longer exists. It rendered outside<body>in Times New Roman. It's now the first element of<body>, a named section.Before-and-after screenshots show the same layout, with the active view at the same position and size. The visible changes are the slightly deeper green and blue buttons and more readable grey hints.
🤖 Generated with Claude Code