In https://tabatkins.github.io/css-toggle/#toggles (and elsewhere), the notion of "persistent state" is used:
Toggles are persistent state on an element, and are not directly affected by any CSS properties.
It may be useful to define this, or clarify in a security and privacy considerations section that toggles aren't cookies, or storage. Or to define what persistent state means so it's more obvious.