Skip to content

2.2.0

Compare
Choose a tag to compare
@zoglo zoglo released this 22 Oct 12:01
· 24 commits to 2.x since this release

Warning

ALL Templates have been changed. If you do not adjust your cookiebar_* templates,
the features may not work for you at all

A11y improvements

  • Consider styles for high contrast modes

  • Consider print media-query (hides the cookiebar)

  • Consider prefers-reduced-motion for cookiebar animation

  • Add aria-attributes

  • Added hidden text to the more/hide buttons to add more description for screenreaders (uses .cc-invisible)

  • Added :focus styles (Color can be set with var(--ccb-focus-clr)

  • Added focus-trap and inert on cookiebar show

    Please mind that this will now block all usage of your page until the user chose an option (this is to comply to the a11y guidelines), they can still scroll through the page but not focus anything else than the open cookiebar


Full Changelog: 2.1.7...2.2.0