Commit 98c6627
[9.4] Fix
# Backport
This will backport the following commits from `main` to `9.4`:
- [Fix `@elastic/eui/icon-accessibility-rules` lint violations across
@elastic/kibana-security files
(#269654)](#269654)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT
[{"author":{"name":"Copilot","email":"198982749+Copilot@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-05-30T10:49:36Z","message":"Fix
`@elastic/eui/icon-accessibility-rules` lint violations across
@elastic/kibana-security files (#269654)\n\nResolves 36 ESLint
`@elastic/eui/icon-accessibility-rules` violations\nacross 25 files
owned by @elastic/kibana-security.\n\n## Changes\n\n- **Decorative
icons** (adjacent to visible text): added\n`aria-hidden={true}`\n- Logo
icons, category icons, chevrons, empty spacers, inputOutput\nicons,
document/sort icons\n- **Meaningful icons** (convey standalone
information): added\n`aria-label` with i18n\n - Warning icon in
`role_table_display.tsx` → \"Deprecated\"\n - MinusCircle icon in
`privilege_display.tsx` → \"None\"\n\nExample:\n\n```tsx\n// Decorative
— icon next to visible text\n<EuiIcon type=\"logoElastic\" size=\"xxl\"
aria-hidden={true} />\n\n// Meaningful — icon conveys status
independently\n<EuiIcon\n type=\"warning\"\n color=\"warning\"\n
size=\"s\"\n aria-label={i18n.translate(\n
'xpack.security.management.roles.roleTableDisplay.deprecatedIconAriaLabel',\n
{ defaultMessage: 'Deprecated' }\n )}\n/>\n```\n\n> [!WARNING]\n>\n>
<details>\n> <summary>Firewall rules blocked me from connecting to one
or more\naddresses (expand for details)</summary>\n>\n> #### I tried to
connect to the following addresses, but was blocked by\nfirewall
rules:\n>\n> - `ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - `clients3.google.com`\n> -
Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`detectportal.firefox.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js\nyp-bin/ldd ldd b/li\u0004\u0018
nibrowser-gtk/sys/lib/libbrotlienc.so.1.0.7` (dns\nblock)\n> -
`iojs.org`\n> - Triggering command: `/usr/bin/curl curl -q --fail
--compressed -L -s\nREDACTED -o -` (dns block)\n>\n> If you need me to
access, download, or install something from one of\nthese locations, you
can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov <alexwizp@gmail.com>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a067907e6ac04afd33ea6a64b56a83dcb0aa5c09","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","💝community","backport:version","a11y:agent-pr","v9.5.0","v9.4.2"],"title":"Fix
`@elastic/eui/icon-accessibility-rules` lint violations across
@elastic/kibana-security
files","number":269654,"url":"https://github.com/elastic/kibana/pull/269654","mergeCommit":{"message":"Fix
`@elastic/eui/icon-accessibility-rules` lint violations across
@elastic/kibana-security files (#269654)\n\nResolves 36 ESLint
`@elastic/eui/icon-accessibility-rules` violations\nacross 25 files
owned by @elastic/kibana-security.\n\n## Changes\n\n- **Decorative
icons** (adjacent to visible text): added\n`aria-hidden={true}`\n- Logo
icons, category icons, chevrons, empty spacers, inputOutput\nicons,
document/sort icons\n- **Meaningful icons** (convey standalone
information): added\n`aria-label` with i18n\n - Warning icon in
`role_table_display.tsx` → \"Deprecated\"\n - MinusCircle icon in
`privilege_display.tsx` → \"None\"\n\nExample:\n\n```tsx\n// Decorative
— icon next to visible text\n<EuiIcon type=\"logoElastic\" size=\"xxl\"
aria-hidden={true} />\n\n// Meaningful — icon conveys status
independently\n<EuiIcon\n type=\"warning\"\n color=\"warning\"\n
size=\"s\"\n aria-label={i18n.translate(\n
'xpack.security.management.roles.roleTableDisplay.deprecatedIconAriaLabel',\n
{ defaultMessage: 'Deprecated' }\n )}\n/>\n```\n\n> [!WARNING]\n>\n>
<details>\n> <summary>Firewall rules blocked me from connecting to one
or more\naddresses (expand for details)</summary>\n>\n> #### I tried to
connect to the following addresses, but was blocked by\nfirewall
rules:\n>\n> - `ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - `clients3.google.com`\n> -
Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`detectportal.firefox.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js\nyp-bin/ldd ldd b/li\u0004\u0018
nibrowser-gtk/sys/lib/libbrotlienc.so.1.0.7` (dns\nblock)\n> -
`iojs.org`\n> - Triggering command: `/usr/bin/curl curl -q --fail
--compressed -L -s\nREDACTED -o -` (dns block)\n>\n> If you need me to
access, download, or install something from one of\nthese locations, you
can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov <alexwizp@gmail.com>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a067907e6ac04afd33ea6a64b56a83dcb0aa5c09"}},"sourceBranch":"main","suggestedTargetBranches":["9.4"],"targetPullRequestStates":[{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/269654","number":269654,"mergeCommit":{"message":"Fix
`@elastic/eui/icon-accessibility-rules` lint violations across
@elastic/kibana-security files (#269654)\n\nResolves 36 ESLint
`@elastic/eui/icon-accessibility-rules` violations\nacross 25 files
owned by @elastic/kibana-security.\n\n## Changes\n\n- **Decorative
icons** (adjacent to visible text): added\n`aria-hidden={true}`\n- Logo
icons, category icons, chevrons, empty spacers, inputOutput\nicons,
document/sort icons\n- **Meaningful icons** (convey standalone
information): added\n`aria-label` with i18n\n - Warning icon in
`role_table_display.tsx` → \"Deprecated\"\n - MinusCircle icon in
`privilege_display.tsx` → \"None\"\n\nExample:\n\n```tsx\n// Decorative
— icon next to visible text\n<EuiIcon type=\"logoElastic\" size=\"xxl\"
aria-hidden={true} />\n\n// Meaningful — icon conveys status
independently\n<EuiIcon\n type=\"warning\"\n color=\"warning\"\n
size=\"s\"\n aria-label={i18n.translate(\n
'xpack.security.management.roles.roleTableDisplay.deprecatedIconAriaLabel',\n
{ defaultMessage: 'Deprecated' }\n )}\n/>\n```\n\n> [!WARNING]\n>\n>
<details>\n> <summary>Firewall rules blocked me from connecting to one
or more\naddresses (expand for details)</summary>\n>\n> #### I tried to
connect to the following addresses, but was blocked by\nfirewall
rules:\n>\n> - `ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - `clients3.google.com`\n> -
Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`detectportal.firefox.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2 > b[i]) exit(0)` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js\nyp-bin/ldd ldd b/li\u0004\u0018
nibrowser-gtk/sys/lib/libbrotlienc.so.1.0.7` (dns\nblock)\n> -
`iojs.org`\n> - Triggering command: `/usr/bin/curl curl -q --fail
--compressed -L -s\nREDACTED -o -` (dns block)\n>\n> If you need me to
access, download, or install something from one of\nthese locations, you
can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov <alexwizp@gmail.com>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a067907e6ac04afd33ea6a64b56a83dcb0aa5c09"}},{"branch":"9.4","label":"v9.4.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>@elastic/eui/icon-accessibility-rules lint violations across @elastic/kibana-security files (#269654) (#272024)1 parent 8796ce0 commit 98c6627
27 files changed
Lines changed: 157 additions & 70 deletions
File tree
- src/platform/plugins/private/interactive_setup/public
- x-pack/platform
- packages
- private/security/ui_components/src/kibana_privilege_table
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
283 | 287 | | |
284 | 288 | | |
285 | 289 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments