fix: More missing a11y labels

This commit is contained in:
Tom Moor
2021-01-22 21:12:25 -08:00
parent 11e1108f4a
commit 7e9bcb0c37
3 changed files with 13 additions and 2 deletions

View File

@ -17,6 +17,8 @@ type Props = {
theme: Theme,
source: string,
placeholder?: string,
label?: string,
labelHidden?: boolean,
collectionId?: string,
t: TFunction,
};
@ -68,6 +70,8 @@ class InputSearch extends React.Component<Props> {
color={this.focused ? theme.inputBorderFocused : theme.inputBorder}
/>
}
label={this.props.label}
labelHidden={this.props.labelHidden}
onFocus={this.handleFocus}
onBlur={this.handleBlur}
margin={0}