Closed geek-andi closed 1 year ago
I'm absolute okay with your interest, but the buttons have the same contrast, in so far as white/blue has the same contrast-value as blue/white. The buttons have the same size and font-size. "Deceptive" means that buttons appear as "disabled", "disadvantageous" or "dangerous" or something like this. You can't even say that either of these buttons is clearly highlighted. Which of the two would that be? The one with the border, or the monochrome one.
But I will leave this issue open to catch other comments and meanings on it.
@jfeltkamp Thanks for your answer! Yes, there is some room for discussion here.
For me, two things are quite obvious:
Indeed, I'm not sure if deceptive is the correct word for it. At least I would say both designs nudge users to click on the button which is less privacy friendly. In my opinion that should not be the case. Because when you think about the dozens of banners average users "click away" each days it affects the choice users make.
Please see https://www.drupal.org/project/cookies/issues/3250618 for similar issue on drupal.org and suggestions for a flexible solution by @thomas.frobieter
@jfeltkamp could we please at least add semantic classes to the buttons, so we can safely style them? This should be no breaking change.
Current situation is the following:
Bar:
Modal layer:
So I'd suggest to simply add
In a later cleanup (future task), the BEM style should be reviewed & revised and I'd vote to remove the "important" class.
Ok, I improved that in the master of jfeltkamp/cookiesjsr. Please check, if it works for you. Then I will tag it and deploy on CDN.
To test with Drupal: Go to libraries and checkout cookiesjsr as master. (correct version, when you see 1.0.13 in the pacckage.json) Un-check "Load by CDN" in COOKiES settings.
In the banner: Allow and Deny get both "important" class and an additional individual class. Responsive behavior doesen't display-none the deny button anymore and alternativly swap to mobil mode earlier, if there is not enough place for all buttons in a row.
In the layer: The "Save" action got the important class. Allow and Deny don't have "important" class anymore, and will also be handled equal in responsive.
Thank you @jfeltkamp! Green lights from our side :)
Nice, this seems to be fixed. Thanks @jfeltkamp !
See https://www.drupal.org/project/cookies/issues/3250618
Problem
By law, users must be given a clear yes/no option. Max Schrems claims that deceptive colors/contrast does not comply to GDPR, I think he's right :) (even if courts end up judging differently, we should not "nudge" users to the one or the other option). Source: https://noyb.eu/en/noyb-aims-end-cookie-banner-terror-and-issues-more-500-gdpr-complaints
Currently, cookiesjsr does exactly this.
Proposed solution
Remove highlighting the "Accept all" buttons in the default styling. (To make the banner visually easier to get, the cookie setting button could be smaller.)
(Of course users can override the css, but I think the default settings should be sensible)