Skip to content

Fix insufficient contrast ratio for links in notifications#5496

Merged
jacekbogdanski merged 3 commits intomasterfrom
t/5495
Jun 23, 2023
Merged

Fix insufficient contrast ratio for links in notifications#5496
jacekbogdanski merged 3 commits intomasterfrom
t/5495

Conversation

@Comandeer
Copy link
Copy Markdown
Member

What is the purpose of this pull request?

Bug fix

Does your PR contain necessary tests?

All patches that change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.

This PR contains

  • Unit tests
  • Manual tests

Did you follow the CKEditor 4 code style guide?

Your code should follow the guidelines from the CKEditor 4 code style guide which helps keep the entire codebase consistent.

  • PR is consistent with the code style guide

What is the proposed changelog entry for this pull request?

* [#5495](https://github.com/ckeditor/ckeditor4/issues/5495): Fixed: insufficient color ratio for links inside [notifications](https://ckeditor.com/cke4/addon/notification).

What changes did you make?

I've forced inherited font color for links inside notifications. It seems that the current link color was inherited (pun not intended) from the kama skin.

Additionally, commit 5a4f216 contains further (more aggressive) contrast enhancements, involving changing backgrounds of the notifications in the moono and moono-lisa skins (kama has already good contrast ratio).

Which issues does your PR resolve?

Closes #5495.

Copy link
Copy Markdown
Member

@jacekbogdanski jacekbogdanski left a comment

Choose a reason for hiding this comment

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

I've removed 5a4f216 to avoid potential breaking changes in this PR for some integrators.

Other than that, LGTM!

@jacekbogdanski jacekbogdanski merged commit 4dfc7f4 into master Jun 23, 2023
@jacekbogdanski jacekbogdanski deleted the t/5495 branch June 23, 2023 14:27
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.

Insufficient contrast ratio in notifications

2 participants