I'm an old dude, so I never understood why you would require websites to ask for cookie consent, when you can handle that more safely in your web browser.
That's like putting a sticker on your car saying "Don't come into my car" instead of just locking it. Why do you need regulation when you can just let technology solve it? No idea.
So NO! NO fucking cookie consent API! Just let the browser ask you when a cookie needs to get set... DAMNIT!
In my day, website used to be websites where you could read stuff. Anyone who wasn't able to predict these annoying popups after HTML5 and GDPR, is seriously blind.
(Sorry for the rant ;))