css-toggle
css-toggle copied to clipboard
Proposal for a CSS Toggle spec
Rather than stating that making this proposal accessible would be intractable, which might be wrong, I would like instead to provide some resources that explain accessibility requirements for at least...
Right now `toggle-visibility` not being `normal` acts like `content-visibility: auto` is present only when the toggle is in the inactive state. This implies `contain: paint`, which has z-ordering effects, which...
The definition of [toggle scope](https://tabatkins.github.io/css-toggle/#toggle-wide-scope) should probably mention that toggle scope doesn't cross style containment boundaries. (At least, I think this is the right thing to do.) (Also, It would...
Right now `togglechange` events fire only when the [fire a toggle activation](https://tabatkins.github.io/css-toggle/#fire-a-toggle-activation) steps run, which basically means that they only run when toggles change as a result of activation, and...
Right now, the intention of the spec is that a toggle carries information about the number of states, state names, group, etc that it was created with, but a 'toggle-root'...
I think it would simplify things a little bit if the document-wide implicit toggle group were instead associated with the root element. I don't *think* there's currently any exposed behavior...
There are a number of aspects of the specification that are poorly defined if `toggle-root` or `toggle-group` use the same toggle name more than once in their list of toggles....
clarify how toggles are supposed to be updated, and whether it should all happen in a single flush
[Toggle Creation Details](https://tabatkins.github.io/css-toggle/#toggle-creation) currently says: > ISSUE 1: Define the precise point in [update the rendering](https://html.spec.whatwg.org/multipage/webappapis.html#update-the-rendering) when toggles are created if [toggle-root](https://tabatkins.github.io/css-toggle/#propdef-toggle-root) names a toggle that doesn’t exist on the...
In the [definition of `toggle-root`](https://tabatkins.github.io/css-toggle/#toggle-root-property) a concept is called `` but in [the API](https://tabatkins.github.io/css-toggle/#csstoggle) this same toggle is called "cycle" (in the `cycle` attribute on `CSSToggle`, and in the `CSSToggleCycle`...
The spec should be clear about how toggles (and toggle groups) interact with display:none and display:contents. Can elements with these display values create toggles? Can they establish toggle groups? For...