wellcomecollection / wellcomecollection.org

🪟 Wellcome Collection's website and services that support it
https://wellcomecollection.org
MIT License
37 stars 5 forks source link

Cookies banner button order #10887

Closed LaurenFBaily closed 1 month ago

LaurenFBaily commented 1 month ago

Button order doesn't match designs in the new cookies banner.

Should be: Manage cookies, Essential only, Accept all

Currently showing in reverse order behind toggle: Image

rcantin-w commented 1 month ago

We can't change it, sadly, only change the copy (as we agreed not to apply CSS hacks and only configure it with what Civic UK offers)

LaurenFBaily commented 1 month ago

Thanks for the background.

Not a blocker for releasing, but need to look now that we're inconsistent with wellcome.org banner and whether that's a potential issue for users moving between the sites.

rcantin-w commented 1 month ago

Right, with access to their codebase, I can confirm why it is different; their solution includes having a custom-built banner. The initial state of Civic UK is closed, and instead of using what CivicUK offers like we do, they display a custom banner, meaning they have much more control over the look, copy, etc. and therefore can control the button order. So we could do the same down the line, if that's something we want. Or we can look at adding extra CSS of top on the Civic UK solution, but we chose not to do that in case they changed their code and the CSS didn't apply anymore; more to maintain.

LaurenFBaily commented 1 month ago

Will pick up with wellcome.org team to see if they can instead align with our button ordering instead (having our preferred option 'Accept all' ordered first).

LaurenFBaily commented 1 month ago

Closing as wellcome.org are going to update their button order to match ours.