Closed IlanAdivi1 closed 7 months ago
Hello Ilan, thank you for this useful comment ! I will search how to adapt font color to note background. Concerning font size, I must test first if it won't break note format. Best regards, Olivier
Hi Ilan, CSS wasn't the solution... :)
I have increased text size for username, and added a new function that will calculate contrast. Text will be black or white only, but it will be chosen in function of background color. Could you give, for an example, your background color so I can test if contrast is alright ? Thanks !
A sample from the solution I found :
With notes rotation :
Olivier
Hello Olivier,
That's how we think it should be with all of the background colors.
Also, adding style for Username to increase font size, and change color: 1) .headernote class:
font-weight: 650; font-size: 1rem; color: #000;
2) .contentnote class: font-size: 1.2rem;
Here you can see a tool for accessibility measurement.
https://coolors.co/contrast-checker/ffffff-000000
Maybe it's a good idea to put the username and note caption color as an option in system setting.
Thanks, Ilan
I've changed for text size in header and content note. For now, I will maintain this new function to swtich texte to black or white depending on background color. Let's see if it will fit community or if a new setting is more efficient. Thank you again for all your help ! :) Best regards, Olivier
Hello Olivier,
There are a few things that our team has seen that need fixing in the Sticky-notes you've developed:
It currently does not meet the accessibility requirements.
Thanks, Ilan