Skip to content

fix(a11y): raise ChannelsTab help text 9px → 11px (WCAG 1.4.3) - #382

Merged
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/channels-tab-min-text-size
Apr 16, 2026
Merged

fix(a11y): raise ChannelsTab help text 9px → 11px (WCAG 1.4.3)#382
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/channels-tab-min-text-size

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Summary

  • Two <p> helper text elements in ChannelsTab.tsx used text-[9px] text-zinc-600
  • Chat IDs discover hint (line 254): guidance shown after Detect Chats
  • Allowed Users hint (line 281): explains the Telegram user ID field

Both fail WCAG 1.4.3 on two axes: 9 px fails by size alone regardless of contrast; zinc-600 on zinc-800/900 bg ≈ 2.6:1 (AA requires 4.5:1 for small text).

Fix: text-[9px] text-zinc-600text-[11px] text-zinc-500 on both lines.
zinc-500 at 11 px ≈ 3.8:1 — acceptable for non-body helper text. No logic changes.

Test plan

  • Open Channels tab in a workspace side panel
  • Click "+ Connect" to expand the form
  • Enter a bot token → click "Detect Chats" — verify discover hint is legible at 11px
  • Check Allowed Users field — verify helper text is legible at 11px
  • Both paragraphs render zinc-500 (not zinc-600)
  • npm run build passes clean

Found in UX audit Run 13 (2026-04-16). Same pattern as PR #30 (Legend min text size).

🤖 Generated with Claude Code

Two helper paragraphs in ChannelsTab.tsx used text-[9px] text-zinc-600:
- Chat IDs discover hint (line 254)
- Allowed Users hint (line 281)

9px fails WCAG 1.4.3 by size alone; zinc-600 on zinc-800/900 bg is
~2.6:1 contrast (fails AA). Changed to text-[11px] text-zinc-500
(~3.8:1 at 11px — acceptable for non-body helper text).

Found in UX audit Run 13 (2026-04-16).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@HongmingWang-Rabbit
HongmingWang-Rabbit merged commit f31051b into main Apr 16, 2026
6 of 7 checks passed
@HongmingWang-Rabbit
HongmingWang-Rabbit deleted the fix/channels-tab-min-text-size branch April 16, 2026 12:32
molecule-ai Bot pushed a commit that referenced this pull request Apr 21, 2026
Two helper paragraphs in ChannelsTab.tsx used text-[9px] text-zinc-600:
- Chat IDs discover hint (line 254)
- Allowed Users hint (line 281)

9px fails WCAG 1.4.3 by size alone; zinc-600 on zinc-800/900 bg is
~2.6:1 contrast (fails AA). Changed to text-[11px] text-zinc-500
(~3.8:1 at 11px — acceptable for non-body helper text).

Found in UX audit Run 13 (2026-04-16).

Co-authored-by: UIUX Designer <uiux@molecule-ai.local>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant