Skip to content

[Feature Request]: Focus wrap without sentinels for Web Components #19398

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

Open
1 task done
warrenmblood opened this issue May 15, 2025 · 1 comment
Open
1 task done

Comments

@warrenmblood
Copy link
Contributor

The problem

Carbon Web components currently do not have any utility function that provides focus wrapping behavior. The React package has a wrapFocus function as well as wrapFocusWithoutSentinels in a feature flag. Adding this utility to Web components would help achieve consistency across components, parity with React, and faster development time.

The solution

Provide support for the enable-experimental-focus-wrap-without-sentinels feature flag or equivalent in Web component package:
https://github.com/carbon-design-system/carbon/blob/main/packages/react/src/components/Notification/Notification.featureflag.mdx

Examples

React feature flag (Actionable Notification): https://github.com/carbon-design-system/carbon/blob/main/packages/react/src/components/Notification/Notification.featureflag.mdx

Package

@carbon/web-components

Application/PAL

No response

Business priority

Medium Priority = upcoming release but is not pressing

Available extra resources

No response

Code of Conduct

Copy link
Contributor

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

@tay1orjones tay1orjones added the package: feature-flags @carbon/feature-flags label May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage
Development

No branches or pull requests

2 participants