From e4fb2e7c4d5749c8bc1ea7b339127e7a36204381 Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Date: Thu, 6 May 2021 15:33:59 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Fix=20ARIA=20issues=20an?= =?UTF-8?q?d=20add=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix an ARIA issue where fieldset aria-describedby was pointing the legend when it should point to description. Also no aria-describedby will show if description (optional) is not provided. --- .../components/rose/form/fieldset/index.hbs | 2 +- .../components/rose/form/fieldset-test.js | 20 ++++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/addons/rose/addon/components/rose/form/fieldset/index.hbs b/addons/rose/addon/components/rose/form/fieldset/index.hbs index d9bc73f2a..c610023dd 100644 --- a/addons/rose/addon/components/rose/form/fieldset/index.hbs +++ b/addons/rose/addon/components/rose/form/fieldset/index.hbs @@ -1,4 +1,4 @@ -
+