@uncinc/uncinc-react-kitchen-sink 2.20.3 → 2.20.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -296,7 +296,10 @@ var CookieCompliancePopup = function CookieCompliancePopup(props) {
296
296
  // This function renders the different options of checkboxes,
297
297
  // allowing us to add more checkboxes eventually.
298
298
  var renderChoices = function renderChoices() {
299
- return /*#__PURE__*/React.createElement(React.Fragment, null, cookieLevels.map(function (choice) {
299
+ return /*#__PURE__*/React.createElement("fieldset", {
300
+ className: "GoogleConsentCookieBanner__choices",
301
+ "aria-labelledby": "cookie-banner-title"
302
+ }, cookieLevels.map(function (choice) {
300
303
  return /*#__PURE__*/React.createElement("div", {
301
304
  className: "GoogleConsentCookieBanner__category",
302
305
  key: choice.value
@@ -336,7 +339,9 @@ var CookieCompliancePopup = function CookieCompliancePopup(props) {
336
339
  className: "row"
337
340
  }, /*#__PURE__*/React.createElement("div", {
338
341
  className: "col-12 GoogleConsentCookieBanner__content_header"
339
- }, title && /*#__PURE__*/React.createElement("h3", null, title), /*#__PURE__*/React.createElement("button", {
342
+ }, title && /*#__PURE__*/React.createElement("h3", {
343
+ id: "cookie-banner-title"
344
+ }, title), /*#__PURE__*/React.createElement("button", {
340
345
  type: "button",
341
346
  className: "GoogleConsentCookieBanner__close-button",
342
347
  "aria-label": t('general.close', 'Close'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinc/uncinc-react-kitchen-sink",
3
- "version": "2.20.3",
3
+ "version": "2.20.4",
4
4
  "description": "Default React components that are easily extended.",
5
5
  "author": "uncinc",
6
6
  "license": "MIT",