I would like to report an accessibility bug.
Some things like a field that enables using emails are reported to my screenreader as checkbox. I assume this is not a <input type='checkbox'>. The problem is that pressing a space bar on any checkbox toggles it, but screenreader does not see the state change, and checkbox is always seen unchecked.
I assume you marked a checkbox with aria state properties, so it is actually needed to change the aria state when a real state changes.