File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/components/text-editor Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,9 @@ export class TextEditor implements FormComponent<string> {
267267 < limel-markdown
268268 slot = "content"
269269 value = { this . value }
270- aria-controls = { this . helperTextId }
270+ aria-controls = {
271+ this . helperText ? this . helperTextId : undefined
272+ }
271273 id = { this . editorId }
272274 />
273275 ) ;
@@ -284,7 +286,7 @@ export class TextEditor implements FormComponent<string> {
284286 onMetadataChange = { this . handleMetadataChange }
285287 customElements = { this . customElements }
286288 value = { this . value }
287- aria-controls = { this . helperTextId }
289+ aria-controls = { this . helperText ? this . helperTextId : undefined }
288290 id = { this . editorId }
289291 aria-disabled = { this . disabled }
290292 aria-invalid = { this . invalid }
You can’t perform that action at this time.
0 commit comments