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

[focusgroup] Functionality defered to (abandoned?) CSS Toggles Proposal #893

Closed
lukewarlow opened this issue Oct 16, 2023 · 4 comments
Closed

Comments

@lukewarlow
Copy link
Collaborator

Currently the focusgroup proposal defers some functionality to the CSS Toggles Proposal

However, based on the final comment on the Chrome bug and the linked document it would seem that the CSS Toggles concept has been abandoned.

It would be good to at least acknowledge this in the focusgroup explainer, even if it's not replaced with a new proposal yet.

cc @dbaron as he's the one who owned this in Chrome, so can confirm this is still the status quo?

@lukewarlow
Copy link
Collaborator Author

cc @keithamus ;)

@travisleithead
Copy link
Collaborator

After reading through Invokers and Interest Invokers, it made me think of having a very simple attribute that just translates "interest" (e.g., via focus) into a "toggle" or "click" on the same element, and would only be a viable attribute on elements that already have invocation state/patterns (like <input type=checkbox> -- others?)

Something like invokeoninterest (boolean). The default for when the element with this attribute shows interest is to invoke it/toggle it on, and when it loses interest then it can be toggled off. Such a simple attribute could enable selection-follows focus for native elements that already have "selection" state. Adding that selection state onto other random elements--that might be out of scope ;)

@travisleithead
Copy link
Collaborator

Current plan:

  • Update the explainer such that CSS Toggles is not a proposed solution to the selection part of a focus+selection composed control.

@travisleithead
Copy link
Collaborator

PR #1021 has updated the CSS Toggles references. Closing this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants