mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Search][a11y] Fix table row screen reader error (#203136)
## Closes https://github.com/elastic/kibana/issues/199113 Allows errors in the table row to be read by screen readers.
This commit is contained in:
parent
c92216c537
commit
1a9893bd6f
1 changed files with 8 additions and 1 deletions
|
@ -66,7 +66,14 @@ export const BodyRow = <Item extends object>({
|
|||
<EuiFlexGroup direction="column">
|
||||
{errors.map((errorMessage, errorMessageIndex) => (
|
||||
<EuiFlexItem key={errorMessageIndex}>
|
||||
<EuiCallOut iconType="warning" size="s" color="danger" title={errorMessage} />
|
||||
<EuiCallOut
|
||||
role="alert"
|
||||
aria-live="polite"
|
||||
iconType="warning"
|
||||
size="s"
|
||||
color="danger"
|
||||
title={errorMessage}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
))}
|
||||
</EuiFlexGroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue