Skip to content

Fix color-text-maxcontrast not passing WCAG AA - #20853

Merged
rullzer merged 1 commit into
masterfrom
design/accessibility-maxcontrast
May 7, 2020
Merged

Fix color-text-maxcontrast not passing WCAG AA#20853
rullzer merged 1 commit into
masterfrom
design/accessibility-maxcontrast

Conversation

@jancborchardt

Copy link
Copy Markdown
Member

The intended value is #767676 on white, as per the comment at https://github.com/nextcloud/server/blob/master/core/css/variables.scss#L60

This stems from when I changed the color-main-text from #000 to #222 but didn’t adjust the lighten percentage. We should also backport this to 19, right?

@skjnldsv I would additionally say since the values are so similar, we limit the text variables to just color-main-text and color-text-maxcontrast. I would make both "light" and "lighter" map to "color-text-maxcontrast" for compatibility.

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@rullzer
rullzer merged commit 0643801 into masterMay 7, 2020
@rullzer
rullzer deleted the design/accessibility-maxcontrast branch May 7, 2020 14:38
@rullzer

Copy link
Copy Markdown
Member

/backport to stable19

1 similar comment
@jancborchardt

Copy link
Copy Markdown
MemberAuthor

/backport to stable19

@jancborchardt

Copy link
Copy Markdown
MemberAuthor

/backport to stable18

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugdesignDesign, UI, UX, etc.feature: accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jancborchardt@rullzer@skjnldsv@marcoambrosini