From 67d17b0c74ea74a0904efcf6274933b832dbf45d Mon Sep 17 00:00:00 2001 From: Dave Batiste Date: Wed, 11 Dec 2024 11:01:04 -0500 Subject: [PATCH] fix: Update d2l-dialog describe-content doc comment (#5228) --- components/dialog/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dialog/dialog.js b/components/dialog/dialog.js index dc6b12f460d..8110ec798ec 100644 --- a/components/dialog/dialog.js +++ b/components/dialog/dialog.js @@ -35,7 +35,7 @@ class Dialog extends PropertyRequiredMixin(LocalizeCoreElement(AsyncContainerMix critical: { type: Boolean }, /** - * Whether to read the contents of the dialog on open + * Causes screen readers to announce the content of the dialog on open. Only use if the content is concise and contains only text since screen readers ignore HTML semantics and some have a ~250 character limit. */ describeContent: { type: Boolean, attribute: 'describe-content' },