diff --git a/.changeset/four-monkeys-buy.md b/.changeset/four-monkeys-buy.md new file mode 100644 index 0000000000..a9f64e0751 --- /dev/null +++ b/.changeset/four-monkeys-buy.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-documentation': patch +--- + +Improved `dialog` component accessibility by adding proper paragraph markup around text content. diff --git a/packages/documentation/src/stories/components/dialog/dialog.stories.ts b/packages/documentation/src/stories/components/dialog/dialog.stories.ts index d764202f7d..aca4977eb1 100644 --- a/packages/documentation/src/stories/components/dialog/dialog.stories.ts +++ b/packages/documentation/src/stories/components/dialog/dialog.stories.ts @@ -120,7 +120,7 @@ const getCloseButton = () => { }; const getControls = () => { - return html` + return html`
`; }; @@ -148,7 +148,7 @@ const Template = {
${postDialogIcon}

${args.title}

-
${args.content}
+

${args.content}

${getControls()}
${postDialogCloseButton}