From a39d147870b1f680f8e56c1e98c4ea900e8aceee Mon Sep 17 00:00:00 2001 From: samithaf Date: Thu, 7 Dec 2023 14:36:32 +1100 Subject: [PATCH] Updated Compacta design examples to be accessible --- .../compacta/design/default/content.mdoc | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/apps/site/src/content/design-system/components/compacta/design/default/content.mdoc b/apps/site/src/content/design-system/components/compacta/design/default/content.mdoc index efa9827d6..6b9f5bf17 100644 --- a/apps/site/src/content/design-system/components/compacta/design/default/content.mdoc +++ b/apps/site/src/content/design-system/components/compacta/design/default/content.mdoc @@ -13,11 +13,13 @@ Below is an example of how a Compacta may be used with fields and inputs. Any fo {({ id, setPrimaryTitle, setSecondaryTitle, setTertiaryTitle }) => (
- Primary - Primary title text + Primary + Primary title text { handleChange(e); setPrimaryTitle(e.target.value); @@ -25,11 +27,13 @@ Below is an example of how a Compacta may be used with fields and inputs. Any fo /> - Secondary - Secondary title text + Secondary + Secondary title text { handleChange(e); setSecondaryTitle(e.target.value); @@ -37,11 +41,13 @@ Below is an example of how a Compacta may be used with fields and inputs. Any fo /> - Tertiary - Tertiary title text + Tertiary + Tertiary title text { handleChange(e); setTertiaryTitle(e.target.value);