-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Fix violations of the @elastic/eui/no-unnamed-radio-group ESLint rule #230068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/ci |
|
Pinging @elastic/kibana-accessibility (Project:Accessibility) |
…agement/pages/policy/view/policy_settings_form/components/detect_prevent_protection_level.tsx Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
Bamieh
left a comment
There was a problem hiding this 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)
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
History
|
|
Starting backport for target branches: 9.1 https://github.com/elastic/kibana/actions/runs/16920178642 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
…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>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…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
…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-->
…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>
…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>
…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)
…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.
…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>
…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.
Closes: #212887
Summary
This PR applies the auto-fix for the newly introduced
@elastic/eui/no-unnamed-radio-groupelastic/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
nameattribute for all radio components. Similar changes have been applied across the entireKibanacodebase.