Skip to content

fix(a11y): improve contrast of version label in sidebar#14827

Merged
skjnldsv merged 1 commit into
masterfrom
fix/bitv-9676-version-contrast
May 12, 2026
Merged

fix(a11y): improve contrast of version label in sidebar#14827
skjnldsv merged 1 commit into
masterfrom
fix/bitv-9676-version-contrast

Conversation

@skjnldsv
Copy link
Copy Markdown
Member

@skjnldsv skjnldsv commented May 12, 2026

☑️ Resolves

🖼️ Screenshots

Before After
image image

Explanations

The "Nextcloud" prefix and version string in the bottom-left sidebar version panel use #0082c9 (Nextcloud blue) on the dark #272525 RTD background, giving a contrast ratio of ~3.7:1. WCAG AA / BITV 9.1.4.3 requires 4.5:1 for normal-weight text.

Changing the color to #fff brings the ratio to ~15:1.

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

The "Nextcloud" and version text in the bottom-left sidebar panel
used #0082c9 on a #272525 background, giving a contrast ratio of
~3.7:1. WCAG AA requires 4.5:1 for normal-weight text.

Switching to white (#fff) brings the ratio to ~15:1.

Fixes #9676

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

No RST documentation pages changed in this PR.

Last updated: Tue, 12 May 2026 19:20:12 GMT

Copy link
Copy Markdown
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@skjnldsv skjnldsv merged commit fd785ed into master May 12, 2026
24 checks passed
@skjnldsv skjnldsv deleted the fix/bitv-9676-version-contrast branch May 12, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants