mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fix: [Security:Rules:Detection Rules:Create Rule] EQL Query text area is missing accessible label in Create new rule panel of type event correlation (#206972)
Closes: #205054 **Description** EQL Query text area is missing accessible label in create new rule panel of type event correlation **Preconditions** Security -> Rules->Detection Rules(SIEM) ->create rule is open **Steps to reproduce** 1. Click on Event correlation type for rule type 2. Run axe-core on the page 3. Notice the critical a11y violation error for EQL query text area **Changes made** 1. Added `aria-label` attribute for mentioned places **Screen** <img width="897" alt="image" src="https://github.com/user-attachments/assets/7bcf592b-03d7-407a-aa94-3506d535c161" />
This commit is contained in:
parent
453ebf1301
commit
4dbad26404
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ export const EqlQueryBar: FC<EqlQueryBarProps> = ({
|
|||
isInvalid={!isValid && !isValidating}
|
||||
value={fieldValue.query.query as string}
|
||||
onChange={handleChange}
|
||||
aria-label={field.label}
|
||||
/>
|
||||
<EqlQueryBarFooter
|
||||
errors={errorMessages}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue