Insufficient color contrast on form input borders in bootstrap OPAC

Bug #1942240 reported by Jane Sandberg
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.7
Fix Released
Medium
Unassigned

Bug Description

Form inputs in the bootstrap OPAC use bootstrap's default #CED4DA color for their borders. These are typically on a white background, for a color contrast ratio of 1.49:1. WCAG says it should have at least a 3:1 color contrast ratio: https://www.w3.org/TR/WCAG21/#non-text-contrast

Bootstrap even says that their default color palette has insufficient contrast: https://getbootstrap.com/docs/4.0/getting-started/accessibility/#color-contrast -- which begs the question of why they don't just change it. But, I digress.

We should override the default border color here so that patrons can actually see where the form fields are. :-)

Garry Collum (gcollum)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Garry Collum (gcollum) wrote :
tags: added: pullrequest
Revision history for this message
Terran McCanna (tmccanna) wrote :
tags: added: signedoff
Michele Morgan (mmorgan)
Changed in evergreen:
milestone: none → 3.8.1
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks for this fix, Garry and Terran! Pushed to 3.7 and above.

Changed in evergreen:
importance: Undecided → Medium
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.