From b532c780c61a59c428df5355424f91a7a07a2d7e Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 28 Feb 2024 15:31:57 -0500 Subject: [PATCH] A11Y: markup sidebar form errors as live regions (#25937) --- .../discourse/app/components/sidebar/section-form-link.hbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/sidebar/section-form-link.hbs b/app/assets/javascripts/discourse/app/components/sidebar/section-form-link.hbs index 3887345c3b1..e1617aca043 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/section-form-link.hbs +++ b/app/assets/javascripts/discourse/app/components/sidebar/section-form-link.hbs @@ -35,7 +35,7 @@ ariaLabel={{i18n "sidebar.sections.custom.links.icon.label"}} /> {{#if @link.invalidIconMessage}} -
+ {{/if}} @@ -50,7 +50,7 @@ {{on "input" (with-event-value (fn (mut @link.name)))}} /> {{#if @link.invalidNameMessage}} -
+ {{/if}} @@ -65,7 +65,7 @@ {{on "input" (with-event-value (fn (mut @link.value)))}} /> {{#if @link.invalidValueMessage}} -
+ {{/if}}