Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [Rules][AXE-CORE]: Links must have discernible text (elastic#177198
) Closes: elastic/security-team#8565 ## Summary The [axe browser plugin](https://deque.com/axe) has identified four links without clear text. Upon inspecting the page, it was found that the SVG icons associated with each rule type are labeled as <a> but with a negative tabindex, rendering them inaccessible for keyboard navigation. Additionally, these icons lack an accessible label. To address this issue, the <a> tag for the SVG icons has been removed. SVGs inherently possess the appropriate role and aria-hidden attributes, designating them as decorative elements for assistive technology. ### Screen ![image](https://github.com/elastic/kibana/assets/20072247/32ae0237-9b89-40e6-8201-416a1f2d4f17) ### AXE Report #### Before ![image](https://github.com/elastic/kibana/assets/20072247/8e51168c-2028-422d-af9e-0c4f5aaeb467) #### After ![image](https://github.com/elastic/kibana/assets/20072247/57b4aa67-84ee-4b46-96c2-d9ccaa49812d) ## For discussion only Alternatively I recommend to refactor LandingLinkIcon component to use `EuiCard` to make it more EUI friendly e.g. <img width="1308" alt="image" src="https://github.com/elastic/kibana/assets/20072247/ca76191f-bec7-473b-af73-838fcdee76af"> POC: [Alternative fix for](alexwizp@69c9375)
- Loading branch information