mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Uptime] Add-aria-labels-for-filter-inputs (#82249)
This commit is contained in:
parent
a0fded52eb
commit
6f6c2cf042
2 changed files with 9 additions and 1 deletions
|
@ -24,6 +24,7 @@ exports[`FilterPopover component does not show item list when loading 1`] = `
|
|||
>
|
||||
<EuiPopoverTitle>
|
||||
<EuiFieldSearch
|
||||
aria-label="Search for bar"
|
||||
compressed={false}
|
||||
disabled={true}
|
||||
fullWidth={false}
|
||||
|
@ -61,6 +62,7 @@ exports[`FilterPopover component renders without errors for valid props 1`] = `
|
|||
>
|
||||
<EuiPopoverTitle>
|
||||
<EuiFieldSearch
|
||||
aria-label="Search for bar"
|
||||
compressed={false}
|
||||
disabled={true}
|
||||
fullWidth={false}
|
||||
|
|
|
@ -100,6 +100,12 @@ export const FilterPopover = ({
|
|||
incremental={true}
|
||||
disabled={items.length === 0}
|
||||
onSearch={(query) => setSearchQuery(query)}
|
||||
aria-label={i18n.translate('xpack.uptime.filterPopout.searchMessage.ariaLabel', {
|
||||
defaultMessage: 'Search for {title}',
|
||||
values: {
|
||||
title: title.toLowerCase(),
|
||||
},
|
||||
})}
|
||||
placeholder={
|
||||
loading
|
||||
? i18n.translate('xpack.uptime.filterPopout.loadingMessage', {
|
||||
|
@ -108,7 +114,7 @@ export const FilterPopover = ({
|
|||
: i18n.translate('xpack.uptime.filterPopout.searchMessage', {
|
||||
defaultMessage: 'Search {title}',
|
||||
values: {
|
||||
title,
|
||||
title: title.toLowerCase(),
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue