add aria-label to select without label (#19830)
This commit is contained in:
parent
647d3366eb
commit
87dbcdbede
|
@ -98,6 +98,7 @@ exports[`renders ControlsTab 1`] = `
|
|||
id="selectControlType"
|
||||
>
|
||||
<EuiSelect
|
||||
aria-label="Select control type"
|
||||
compressed={false}
|
||||
fullWidth={false}
|
||||
hasNoInitialSelection={false}
|
||||
|
@ -130,6 +131,7 @@ exports[`renders ControlsTab 1`] = `
|
|||
id="addControl"
|
||||
>
|
||||
<EuiButton
|
||||
aria-label="Add control"
|
||||
color="primary"
|
||||
data-test-subj="inputControlEditorAddBtn"
|
||||
fill={true}
|
||||
|
|
|
@ -157,6 +157,7 @@ export class ControlsTab extends Component {
|
|||
]}
|
||||
value={this.state.type}
|
||||
onChange={evt => this.setState({ type: evt.target.value })}
|
||||
aria-label="Select control type"
|
||||
/>
|
||||
</EuiFormRow>
|
||||
</EuiFlexItem>
|
||||
|
@ -169,6 +170,7 @@ export class ControlsTab extends Component {
|
|||
onClick={this.handleAddControl}
|
||||
iconType="plusInCircle"
|
||||
data-test-subj="inputControlEditorAddBtn"
|
||||
aria-label="Add control"
|
||||
>
|
||||
Add
|
||||
</EuiButton>
|
||||
|
|
Loading…
Reference in a new issue