Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [Alerts > Landing][AXE-CORE]: Buttons must have discernible text (…
…elastic#177817) Closes: elastic/security-team#8576 ## Summary The axe browser plugin is reporting that the Alerts landing page has 4 buttons without discernible text. I found that the `OptionsListControl` sets selected values for the `aria-label` attribute, which is not correct and requires correction. What was done in that PR: - The value for `aria-label` was updated; now it is equal to state.explicitInput.title || state.explicitInput.fieldName. - `role="combobox"` was set for `EuiInputPopover.input`. - The argument for `OptionsListStrings.popover.getAriaLabel` was updated. We should read the title, and if that value is empty, read the fieldName. ## Screens <img width="1495" alt="image" src="https://github.com/elastic/kibana/assets/20072247/a925663e-e53e-4817-a8ee-ea91f5675acf"> #### Axe report <img width="939" alt="image" src="https://github.com/elastic/kibana/assets/20072247/3ba859b5-a764-4502-bf0f-ad5dadc5e434"> No related issues
- Loading branch information