# CookieConsent v2.9.0 — cookieconsent v2.9.0 - Product: CookieConsent (https://whatsnew.fyi/product/cookieconsent) - Vendor: Orest Bida - Date: 2023-04-21 - Version: v2.9.0 - Original notes: https://github.com/orestbida/cookieconsent/releases/tag/v2.9.0 - Permalink: https://whatsnew.fyi/product/cookieconsent/releases/v2.9.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add new CSS variables - **added** — Allow custom script type via the data-type attribute - **added** — Add settings_modal.cookie_table_caption option for better accessibility - **added** — Allow custom z-index value via the --cc-z-index CSS variable - **added** — Allow data-cc attributes on all HTML elements - **added** — Disable transitions if prefers-reduced-motion is enabled - **added** — Discard unsaved settings inside settings_modal - **fixed** — Fix focus restoration when modals are hidden - **changed** — Slightly reduce padding in UI - **removed** — Remove old IE8 specific CSS rules ##### New Features * Add new CSS variables by @aforcada in https://github.com/orestbida/cookieconsent/pull/482 * Allow custom script `type` via the `data-type` attribute 0b1d14a69b980cbb3349dc8bc10a11b921a0ae4a (ref. #487) * Add `settings_modal.cookie_table_caption` option for better a11y bdfe84e161b3e6e633e9e4968a9d7558de7460a9 e1bada31aa2f39302081039aa2c13b1a9f544961 (ref. #485) * Allow custom `z-index` value via the `--cc-z-index` css variable 9707cceab03ce2998da6659abe80b8c1cb18403f * Allow `data-cc` attributes on all HTML elements e5ab6a0eb95ab4ef728d1b61596c1490ea40471c (ref. #502) * Disable transitions if `prefers-reduced-motion` is enabled fbfd628beea3361af4030e496776e70b2c4bb849 * Discard unsaved settings inside `settings_modal` 4ef841d355eea315e0010ee55ee6914d91a6e916 (ref. #481) ##### Bug Fixes * Fix focus restoration when modals are hidden by @orestbida 004f6a3bb62e368fb1c0b0be1c0e03e491e40d6d (ref. #475) ##### Misc * Small ui tweaks: slightly reduce padding ff0c83cc2786a0470116044595399d64c72797c8 1296a6b80ecc586b25800b95fc8246acbe93236d * Fix Readme.md example: `hide_from_bots` is `true` by default rather than `false` by @MaximumP in https://github.com/orestbida/cookieconsent/pull/448 * Remove old IE8 specific css rules c350c9eb53ee888dc54f22c706a2431e522ae143 * Update all dependencies 13072d42d3bb120cfe5b4487794a4003f05faf0a * Code refactoring/cleanup ##### New Contributors * @MaximumP made their first contribution in https://github.com/orestbida/cookieconsent/pull/448 **Full Changelog**: https://github.com/orestbida/cookieconsent/compare/v2.8.9...v2.9.0