Closed renrez closed 5 years ago
Where are we with this request @justinspencer?
Note: WCAG AA 2.1 spec alignment will require a more noticeable 3:1 contrast ratio between input element and background; be that between either element border or element background fill against background.
As per the spec:
The visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s):
User Interface Components Visual information used to indicate states and boundaries of user interface components, except for inactive components or where the appearance of the component is determined by the user agent and not modified by the author; https://www.w3.org/TR/WCAG21/#non-text-contrast
This was fixed as part of WestpacCXTeam/GUI-source#433
Description
The colour of form control borders is quite weak in term of contrast, this applies specifically to text input elements, textarea elements and select list elements.
A quick fix could be changing the colour to the "Stone" style guide colour which has a contrast ratio of 3.98:1 which I expect would be sufficient in that the form controls are greater in height than 14pt which satisfy the 3:1 contrast ratio required for large text. Alternatively the GEL team may have another preferred solution.
Screenshots