Skip to content
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

Navigating with the keyboard between radio-button-groups whose radio-button's set their own name attribute directly is not prevented #10849

Open
2 of 6 tasks
eriklharper opened this issue Nov 22, 2024 · 0 comments
Labels
0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. c-radio-button Issue related to calcite-radio-button Calcite (dev) Issues logged by Calcite developers. calcite-components Issues specific to the @esri/calcite-components package. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone needs triage Planning workflow - pending design/dev review.

Comments

@eriklharper
Copy link
Contributor

Check existing issues

Actual Behavior

When rendering more than 1 calcite-radio-button-group on a page where each individual calcite-radio-button is setting their own name attribute to the same value within a group (as opposed to setting name on calcite-radio-button-group instead), using the arrow keys on the keyboard will move between separate groups, treating them like they're all part of the same group when they're not.

Expected Behavior

Regardless if name is set at the parent level or on each individual radio-button, navigating the options with the keyboard should be constrained to just the options in the group.

Reproduction Sample

https://codepen.io/eriklharper/pen/OJKKQbX?editors=1000

Reproduction Steps

See the codepen for instructions.

Reproduction Version

2

Relevant Info

No response

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (dev)

@eriklharper eriklharper added bug Bug reports for broken functionality. Issues should include a reproduction of the bug. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. c-radio-button Issue related to calcite-radio-button labels Nov 22, 2024
@github-actions github-actions bot added Calcite (dev) Issues logged by Calcite developers. calcite-components Issues specific to the @esri/calcite-components package. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. c-radio-button Issue related to calcite-radio-button Calcite (dev) Issues logged by Calcite developers. calcite-components Issues specific to the @esri/calcite-components package. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

1 participant