From 58a1fdf7354e0c75cf22918ca89dc42c98659cf1 Mon Sep 17 00:00:00 2001 From: cmiqueo <64917520+cmiqueo@users.noreply.github.com> Date: Mon, 22 Jul 2024 08:48:38 -0700 Subject: [PATCH] MWPW-141599: Fixes Card Title Accessibility Level (#2589) MWPW-141599: Fixes Card Accessibility Title Level Co-authored-by: milo-pr-merge[bot] <169241390+milo-pr-merge[bot]@users.noreply.github.com> --- libs/blocks/caas-config/caas-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/blocks/caas-config/caas-config.js b/libs/blocks/caas-config/caas-config.js index ca8959bfa8..a010c60df7 100644 --- a/libs/blocks/caas-config/caas-config.js +++ b/libs/blocks/caas-config/caas-config.js @@ -60,7 +60,7 @@ const caasFilesLoaded = loadCaasFiles(); const ConfiguratorContext = createContext(); const defaultOptions = { - accessibilityLevel: { + cardTitleAccessibilityLevel: { 2: '2', 3: '3', 4: '4', @@ -365,7 +365,7 @@ const UiPanel = () => html` <${Input} label="Show total card count at top" prop="showTotalResults" type="checkbox" /> <${Input} label="Hide date for on-demand content" prop="hideDateInterval" type="checkbox" /> <${Select} label="Card Style" prop="cardStyle" options=${defaultOptions.cardStyle} /> - <${Select} options=${defaultOptions.accessibilityLevel} prop="accessibilityLevel" label="Card Accessibility Title Level" /> + <${Select} options=${defaultOptions.cardTitleAccessibilityLevel} prop="cardTitleAccessibilityLevel" label="Card Accessibility Title Level" /> <${Select} label="Layout" prop="container" options=${defaultOptions.container} /> <${Select} label="Layout Type" prop="layoutType" options=${defaultOptions.layoutType} /> <${Select} label="Grid Gap (Gutter)" prop="gutter" options=${defaultOptions.gutter} />