Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.13] fix: [Rules > Detection rules][AXE-CORE]: Interactive contr…
…ols must not be nested (elastic#177710) (elastic#178240) # Backport This will backport the following commits from `main` to `8.13`: - [fix: [Rules > Detection rules][AXE-CORE]: Interactive controls must not be nested (elastic#177710)](elastic#177710) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alexey Antonov","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-03-07T15:59:02Z","message":"fix: [Rules > Detection rules][AXE-CORE]: Interactive controls must not be nested (elastic#177710)\n\nCloses: https://github.com/elastic/security-team/issues/8567\r\nCloses: https://github.com/elastic/security-team/issues/8627\r\n\r\n## Summary\r\n\r\nThe [axe browser plugin](https://deque.com/axe) is reporting a nested\r\nbutton (interactive control). This appears to be a tooltip nested within\r\na table sorting button. This pull request addresses that issue in the\r\nsame manner as with `EuiIconTip`.\r\n\r\nBy the way, I discovered a couple of accessibility (a11y) issues in\r\nwhich also were fixed:\r\n- [x] Tooltip icon for TableHeaderTooltipCell wasn't available for\r\nkeyboard navigation. It was updated to use `EuiIconTip`.\r\n- [x] Set one color to \"subdued\" for all tooltip icons.\r\n\r\n### Screens\r\n\r\n#### Axe report \r\n\r\n<img width=\"1555\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/20072247/5bc57702-f63a-4c6c-9f9d-341a7ebaebc5\">\r\n\r\n\r\n#### Keyboard navigation \r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/20072247/8cd32a42-a711-42e4-ae11-badca4038fd9\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"cbfcbaca2a1ceb2b056c48aad71d60f2dc7ea0a2","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Feature:Rule Management","Team:Detection Rule Management","v8.13.0","v8.14.0"],"title":"fix: [Rules > Detection rules][AXE-CORE]: Interactive controls must not be nested","number":177710,"url":"https://github.com/elastic/kibana/pull/177710","mergeCommit":{"message":"fix: [Rules > Detection rules][AXE-CORE]: Interactive controls must not be nested (elastic#177710)\n\nCloses: https://github.com/elastic/security-team/issues/8567\r\nCloses: https://github.com/elastic/security-team/issues/8627\r\n\r\n## Summary\r\n\r\nThe [axe browser plugin](https://deque.com/axe) is reporting a nested\r\nbutton (interactive control). This appears to be a tooltip nested within\r\na table sorting button. This pull request addresses that issue in the\r\nsame manner as with `EuiIconTip`.\r\n\r\nBy the way, I discovered a couple of accessibility (a11y) issues in\r\nwhich also were fixed:\r\n- [x] Tooltip icon for TableHeaderTooltipCell wasn't available for\r\nkeyboard navigation. It was updated to use `EuiIconTip`.\r\n- [x] Set one color to \"subdued\" for all tooltip icons.\r\n\r\n### Screens\r\n\r\n#### Axe report \r\n\r\n<img width=\"1555\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/20072247/5bc57702-f63a-4c6c-9f9d-341a7ebaebc5\">\r\n\r\n\r\n#### Keyboard navigation \r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/20072247/8cd32a42-a711-42e4-ae11-badca4038fd9\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"cbfcbaca2a1ceb2b056c48aad71d60f2dc7ea0a2"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177710","number":177710,"mergeCommit":{"message":"fix: [Rules > Detection rules][AXE-CORE]: Interactive controls must not be nested (elastic#177710)\n\nCloses: https://github.com/elastic/security-team/issues/8567\r\nCloses: https://github.com/elastic/security-team/issues/8627\r\n\r\n## Summary\r\n\r\nThe [axe browser plugin](https://deque.com/axe) is reporting a nested\r\nbutton (interactive control). This appears to be a tooltip nested within\r\na table sorting button. This pull request addresses that issue in the\r\nsame manner as with `EuiIconTip`.\r\n\r\nBy the way, I discovered a couple of accessibility (a11y) issues in\r\nwhich also were fixed:\r\n- [x] Tooltip icon for TableHeaderTooltipCell wasn't available for\r\nkeyboard navigation. It was updated to use `EuiIconTip`.\r\n- [x] Set one color to \"subdued\" for all tooltip icons.\r\n\r\n### Screens\r\n\r\n#### Axe report \r\n\r\n<img width=\"1555\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/20072247/5bc57702-f63a-4c6c-9f9d-341a7ebaebc5\">\r\n\r\n\r\n#### Keyboard navigation \r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/20072247/8cd32a42-a711-42e4-ae11-badca4038fd9\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"cbfcbaca2a1ceb2b056c48aad71d60f2dc7ea0a2"}}]}] BACKPORT--> Co-authored-by: Alexey Antonov <[email protected]>
- Loading branch information