[Koha-bugs] [Bug 26706] Fix btn-default styling for better contrast

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 21 23:28:06 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26706

Henry Bolshaw <bolshawh at parliament.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bolshawh at parliament.uk

--- Comment #4 from Henry Bolshaw <bolshawh at parliament.uk> ---
Hi Owen

<input> and <button> with the "btn btn-primary" class also have low contrast
e.g. the green search and advanced search buttons, the login button etc.

Using the firefox accessibility inspector
(https://developer.mozilla.org/en-US/docs/Tools/Accessibility_inspector) I'm
finding that the contrast ratio for these buttons is between 2.2:1 and 2.4:1. 

>From an accessibility perspective, contrast should be:

- at least 4.5:1 to meet WCAG AA standards 
(see success Criterion 1.4.3 Contrast (Minimum):
https://www.w3.org/TR/WCAG21/#contrast-minimum)

- at least 7:1 to meet AAA standards 
(see Criterion 1.4.6 Contrast (Enhanced):
https://www.w3.org/TR/WCAG21/#contrast-enhanced)

These buttons weren't changed by your patch so this probably needs to be a
separate bug but you did say "confirm that button styles look good" in the test
plan so I thought I'd mention it in case it's easy to fix with a follow-up.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list