For Workers & Pages, what is the name of the domain?
What is the issue or error you’re encountering
The consent banner doesn’t represent the consent state in a specific scenario
What are the steps to reproduce the issue?
- Accept All
- Reload page
- Show consent banner (with a button, for example)
- Reject All
- Show consent banner (without reloading the page)
- Checkboxes are still checked
On (4) I verified the consent has been revoked with JS.
The problem seems to be that when the consent banner is loaded pre-checked the HTML input
tag has a checked
attribute which stays even after unchecking.
After reloading the page, the consent state is shown correctly.