Skip to content

Conversation

@alexwizp
Copy link
Contributor

@alexwizp alexwizp commented Jul 31, 2025

Closes: #212887

Summary

This PR applies the auto-fix for the newly introduced @elastic/eui/no-unnamed-radio-group elastic/eui#8929 rule. This rule ensures that all radio input components have a name attribute. The name attribute is required for radio inputs to be grouped correctly, allowing users to select only one option from a set. Without it, radios may not behave as expected and can cause accessibility issues for assistive technologies.

Changes Made

  1. Set the name attribute for all radio components. Similar changes have been applied across the entire Kibana codebase.

@alexwizp alexwizp added Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor labels Jul 31, 2025
@alexwizp
Copy link
Contributor Author

alexwizp commented Aug 1, 2025

/ci

@elastic elastic deleted a comment from elasticmachine Aug 1, 2025
@alexwizp alexwizp marked this pull request as ready for review August 1, 2025 10:10
@alexwizp alexwizp requested review from a team as code owners August 1, 2025 10:10
@alexwizp alexwizp requested a review from a team August 1, 2025 10:10
@alexwizp alexwizp requested a review from a team as a code owner August 1, 2025 10:10
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-accessibility (Project:Accessibility)

@alexwizp alexwizp requested a review from a team as a code owner August 1, 2025 10:10
alexwizp and others added 2 commits August 12, 2025 13:49
…agement/pages/policy/view/policy_settings_form/components/detect_prevent_protection_level.tsx

Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
Copy link
Contributor

@Bamieh Bamieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core changes lgtm (1 file change adding name property to EuiRadioGroup)

@alexwizp alexwizp enabled auto-merge (squash) August 12, 2025 11:41
@elasticmachine
Copy link
Contributor

elasticmachine commented Aug 12, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #17 / cloud_security_posture GET /internal/cloud_security_posture/status status = unprivileged test indices Return unprivileged when missing access to vulnerabilities_latest index

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
cloudSecurityPosture 562 580 +18
esUiShared 194 212 +18
securitySolution 7868 7886 +18
total +54

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
aiops 518.5KB 518.5KB +28.0B
automaticImport 1.1MB 1.1MB +54.0B
cloudSecurityPosture 557.0KB 562.1KB +5.1KB
controls 484.6KB 484.6KB +44.0B
dataVisualizer 681.6KB 681.6KB +28.0B
fleet 2.1MB 2.1MB +177.0B
indexLifecycleManagement 162.2KB 162.2KB +24.0B
infra 1.0MB 1.0MB +37.0B
ingestPipelines 366.9KB 366.9KB +21.0B
links 100.6KB 100.6KB +16.0B
maps 3.1MB 3.1MB +131.0B
ml 5.3MB 5.3MB +109.0B
osquery 1.0MB 1.0MB +32.0B
savedObjectsManagement 76.0KB 76.0KB +27.0B
securitySolution 10.4MB 10.4MB +5.2KB
slo 968.5KB 968.5KB +14.0B
spaces 214.6KB 214.7KB +23.0B
stackAlerts 64.9KB 64.9KB +18.0B
transform 622.2KB 622.2KB +28.0B
total +11.1KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
esUiShared 89.5KB 94.4KB +4.9KB

History

@alexwizp alexwizp merged commit 3b1354f into elastic:main Aug 12, 2025
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1

https://github.com/elastic/kibana/actions/runs/16920178642

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
9.1 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.1:
- [Security Solution] Split prebuilt rule Cypress tests (#231150)
- [Security Solution] Transfer rule preview tests to Detection Engine (API Integration) (#230267)
- [Detection Engine] Unskip some flaky tests, add better failure messages (#230318)

Manual backport

To create the backport manually run:

node scripts/backport --pr 230068

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 13, 2025
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 230068 locally
cc: @alexwizp

fkanout pushed a commit to fkanout/kibana that referenced this pull request Aug 14, 2025
…elastic#230068)

Closes: elastic#212887

## Summary

This PR applies the auto-fix for the newly introduced
`@elastic/eui/no-unnamed-radio-group`
elastic/eui#8929 rule. This rule ensures that
all radio input components have a name attribute. The name attribute is
required for radio inputs to be grouped correctly, allowing users to
select only one option from a set. Without it, radios may not behave as
expected and can cause accessibility issues for assistive technologies.

## Changes Made

1. Set the `name` attribute for all radio components. Similar changes
have been applied across the entire `Kibana` codebase.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 230068 locally
cc: @alexwizp

1 similar comment
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 230068 locally
cc: @alexwizp

@alexwizp
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

alexwizp added a commit to alexwizp/kibana that referenced this pull request Aug 18, 2025
…elastic#230068)

Closes: elastic#212887

## Summary

This PR applies the auto-fix for the newly introduced
`@elastic/eui/no-unnamed-radio-group`
elastic/eui#8929 rule. This rule ensures that
all radio input components have a name attribute. The name attribute is
required for radio inputs to be grouped correctly, allowing users to
select only one option from a set. Without it, radios may not behave as
expected and can cause accessibility issues for assistive technologies.

## Changes Made

1. Set the `name` attribute for all radio components. Similar changes
have been applied across the entire `Kibana` codebase.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
(cherry picked from commit 3b1354f)

# Conflicts:
#	x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/fleet_extensions/aws_credentials_form/aws_account_type_selector.tsx
#	x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/fleet_extensions/azure_credentials_form/azure_account_type_selector.tsx
#	x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/fleet_extensions/csp_boxed_radio_group.tsx
#	x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/fleet_extensions/gcp_credentials_form/gcp_account_type_selector.tsx
#	x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx
#	x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/fleet_extensions/policy_template_selectors.tsx
#	x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/cnvm_kspm/kspm_eks_input_selector.tsx
alexwizp added a commit that referenced this pull request Aug 18, 2025
…t rule (#230068) (#232094)

# Backport

This will backport the following commits from `main` to `9.1`:
- [Fix violations of the @elastic/eui/no-unnamed-radio-group ESLint rule
(#230068)](#230068)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2025-08-12T20:31:35Z","message":"Fix
violations of the @elastic/eui/no-unnamed-radio-group ESLint rule
(#230068)\n\nCloses:
https://github.com/elastic/kibana/issues/212887\n\n## Summary\n\nThis PR
applies the auto-fix for the newly
introduced\n`@elastic/eui/no-unnamed-radio-group`\nhttps://github.com/elastic/eui/pull/8929
rule. This rule ensures that\nall radio input components have a name
attribute. The name attribute is\nrequired for radio inputs to be
grouped correctly, allowing users to\nselect only one option from a set.
Without it, radios may not behave as\nexpected and can cause
accessibility issues for assistive technologies.\n\n## Changes
Made\n\n1. Set the `name` attribute for all radio components. Similar
changes\nhave been applied across the entire `Kibana`
codebase.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Ash
<1849116+ashokaditya@users.noreply.github.com>","sha":"3b1354fc8b4e2cb9e274e813773bb705d026c24c","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","backport
missing","Team:Fleet","backport:prev-minor","Team:obs-ux-management","v9.2.0"],"title":"Fix
violations of the @elastic/eui/no-unnamed-radio-group ESLint
rule","number":230068,"url":"https://github.com/elastic/kibana/pull/230068","mergeCommit":{"message":"Fix
violations of the @elastic/eui/no-unnamed-radio-group ESLint rule
(#230068)\n\nCloses:
https://github.com/elastic/kibana/issues/212887\n\n## Summary\n\nThis PR
applies the auto-fix for the newly
introduced\n`@elastic/eui/no-unnamed-radio-group`\nhttps://github.com/elastic/eui/pull/8929
rule. This rule ensures that\nall radio input components have a name
attribute. The name attribute is\nrequired for radio inputs to be
grouped correctly, allowing users to\nselect only one option from a set.
Without it, radios may not behave as\nexpected and can cause
accessibility issues for assistive technologies.\n\n## Changes
Made\n\n1. Set the `name` attribute for all radio components. Similar
changes\nhave been applied across the entire `Kibana`
codebase.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Ash
<1849116+ashokaditya@users.noreply.github.com>","sha":"3b1354fc8b4e2cb9e274e813773bb705d026c24c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230068","number":230068,"mergeCommit":{"message":"Fix
violations of the @elastic/eui/no-unnamed-radio-group ESLint rule
(#230068)\n\nCloses:
https://github.com/elastic/kibana/issues/212887\n\n## Summary\n\nThis PR
applies the auto-fix for the newly
introduced\n`@elastic/eui/no-unnamed-radio-group`\nhttps://github.com/elastic/eui/pull/8929
rule. This rule ensures that\nall radio input components have a name
attribute. The name attribute is\nrequired for radio inputs to be
grouped correctly, allowing users to\nselect only one option from a set.
Without it, radios may not behave as\nexpected and can cause
accessibility issues for assistive technologies.\n\n## Changes
Made\n\n1. Set the `name` attribute for all radio components. Similar
changes\nhave been applied across the entire `Kibana`
codebase.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Ash
<1849116+ashokaditya@users.noreply.github.com>","sha":"3b1354fc8b4e2cb9e274e813773bb705d026c24c"}}]}]
BACKPORT-->
@kibanamachine kibanamachine added v9.1.3 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Aug 18, 2025
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Aug 18, 2025
…elastic#230068)

Closes: elastic#212887

## Summary

This PR applies the auto-fix for the newly introduced
`@elastic/eui/no-unnamed-radio-group`
elastic/eui#8929 rule. This rule ensures that
all radio input components have a name attribute. The name attribute is
required for radio inputs to be grouped correctly, allowing users to
select only one option from a set. Without it, radios may not behave as
expected and can cause accessibility issues for assistive technologies.

## Changes Made

1. Set the `name` attribute for all radio components. Similar changes
have been applied across the entire `Kibana` codebase.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
qn895 pushed a commit to qn895/kibana that referenced this pull request Aug 26, 2025
…elastic#230068)

Closes: elastic#212887

## Summary

This PR applies the auto-fix for the newly introduced
`@elastic/eui/no-unnamed-radio-group`
elastic/eui#8929 rule. This rule ensures that
all radio input components have a name attribute. The name attribute is
required for radio inputs to be grouped correctly, allowing users to
select only one option from a set. Without it, radios may not behave as
expected and can cause accessibility issues for assistive technologies.

## Changes Made

1. Set the `name` attribute for all radio components. Similar changes
have been applied across the entire `Kibana` codebase.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
alexwizp added a commit that referenced this pull request Sep 30, 2025
…int rule (#236763)

Most violations of the `@elastic/eui/consistent-is-invalid-props` ESLint
rule were addressed in
[#230068](#226787). This PR just
resolves two remaining cases that were missed.
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 30, 2025
…int rule (elastic#236763)

Most violations of the `@elastic/eui/consistent-is-invalid-props` ESLint
rule were addressed in
[elastic#230068](elastic#226787). This PR just
resolves two remaining cases that were missed.

(cherry picked from commit 25b903b)
VladimirFilonov pushed a commit to VladimirFilonov/kibana that referenced this pull request Sep 30, 2025
…int rule (elastic#236763)

Most violations of the `@elastic/eui/consistent-is-invalid-props` ESLint
rule were addressed in
[elastic#230068](elastic#226787). This PR just
resolves two remaining cases that were missed.
kibanamachine added a commit that referenced this pull request Sep 30, 2025
…s` eslint rule (#236763) (#236901)

# Backport

This will backport the following commits from `main` to `9.1`:
- [fix some voilations of `@elastic/eui/consistent-is-invalid-props`
eslint rule (#236763)](#236763)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2025-09-30T09:07:58Z","message":"fix
some voilations of `@elastic/eui/consistent-is-invalid-props` eslint
rule (#236763)\n\nMost violations of the
`@elastic/eui/consistent-is-invalid-props` ESLint\nrule were addressed
in\n[#230068](#226787). This PR
just\nresolves two remaining cases that were
missed.","sha":"25b903b9cc4a62dc3f12c6b97e9d736e84599466","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","backport:version","v9.2.0","v9.1.5"],"title":"fix
some voilations of `@elastic/eui/consistent-is-invalid-props` eslint
rule","number":236763,"url":"https://github.com/elastic/kibana/pull/236763","mergeCommit":{"message":"fix
some voilations of `@elastic/eui/consistent-is-invalid-props` eslint
rule (#236763)\n\nMost violations of the
`@elastic/eui/consistent-is-invalid-props` ESLint\nrule were addressed
in\n[#230068](#226787). This PR
just\nresolves two remaining cases that were
missed.","sha":"25b903b9cc4a62dc3f12c6b97e9d736e84599466"}},"sourceBranch":"main","suggestedTargetBranches":["9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236763","number":236763,"mergeCommit":{"message":"fix
some voilations of `@elastic/eui/consistent-is-invalid-props` eslint
rule (#236763)\n\nMost violations of the
`@elastic/eui/consistent-is-invalid-props` ESLint\nrule were addressed
in\n[#230068](#226787). This PR
just\nresolves two remaining cases that were
missed.","sha":"25b903b9cc4a62dc3f12c6b97e9d736e84599466"}},{"branch":"9.1","label":"v9.1.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
rylnd pushed a commit to rylnd/kibana that referenced this pull request Oct 17, 2025
…int rule (elastic#236763)

Most violations of the `@elastic/eui/consistent-is-invalid-props` ESLint
rule were addressed in
[elastic#230068](elastic#226787). This PR just
resolves two remaining cases that were missed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:Fleet Team label for Observability Data Collection Fleet team v9.1.3 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Observability:Metrics Explorer page]Visually two radio button groups, programmatically are defined as one