Skip to content

Commit fd785ed

Browse files
authored
Merge pull request #14827 from nextcloud/fix/bitv-9676-version-contrast
fix(a11y): improve contrast of version label in sidebar
2 parents 85a2596 + 88a1ad8 commit fd785ed

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

_shared_assets/static/custom.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ h6 {
5353
.rst-versions .rst-current-version {
5454
display: flex;
5555
align-items: center;
56-
color: #0082c9;
56+
/* Use white instead of #0082c9 — the NC blue at 3.7:1 on the dark
57+
#272525 sidebar background fails WCAG AA (4.5:1 required). */
58+
color: #fff;
5759
}
5860
.rst-versions .rst-current-version .fa-caret-down {
5961
margin-left: 5px;

0 commit comments

Comments
 (0)