Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

APPS-2313: CDSS WOA-5 Remediation of ADA compliance violations #40

Merged
merged 16 commits into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/containers/location/providers/LocationSearchBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ import { STATE, PROVIDERS } from '../../../utils/constants/StateConstants';

const { media } = StyleUtils;

/* placeholder color needs to be darker to provide more contrast between text and background */
const getPlaceholderTheme = (theme) => ({
...theme,
colors: {
...theme.colors,
neutral50: '#555E6F'
},
});

const Wrapper = styled.div`
width: 100%;
top: 0;
Expand Down Expand Up @@ -120,6 +129,7 @@ const LocationsSearchBar = () => {
return (
<Wrapper>
<Select
aria-label="address"
components={{ GroupHeading }}
filterOption={filterOption}
hideDropdownIcon
Expand All @@ -132,6 +142,7 @@ const LocationsSearchBar = () => {
onInputChange={setAddress}
options={optionsWithMyLocation}
placeholder={renderText(LABELS.ENTER_NAME_ADDRESS_ZIP)}
theme={getPlaceholderTheme}
value={value} />
</Wrapper>
);
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>MyChildCare.ca.gov</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=yes, minimum-scale=1.0, maximum-scale=5.0">
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-118446829-4"></script>
<script>
Expand Down