devilry / trix2

Next generation Trix. Detailed task control and statistics app for better learning outcome.
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Too low contrast #116

Closed torgeirl closed 1 year ago

torgeirl commented 1 year ago

Success Criteria 1.4.3 in WCAG 2 requires a minimum of color contrast. After upgrading Django (#102) and making encreased contrast default (#109) we need to make sure we provide a sufficient color contrast.

Some issues before addressing #102 and #109:

Levijatan commented 1 year ago

Fixed all the wcag issues i could find, the login view didn't use the wcag css styles at all, was missing a element inn its contex. But it is now fixed.

Had to change the opacity of .btn-primary.disabled to 1 instead of 0.65 and emulated the effect of lower opacity with a lighter color and had to set the text color to a near black color.

torgeirl commented 1 year ago

Fixed in 3.0.0b12.