From 5c2a0af0642b9d7101404ee1c4a13328eef89f13 Mon Sep 17 00:00:00 2001 From: thsparks Date: Thu, 22 Feb 2024 14:34:45 -0800 Subject: [PATCH] Show catalog descriptions in the criteria table and set the row title, which is useful for screen readers. --- teachertool/src/components/CriteriaTable.tsx | 3 ++- .../src/components/styling/CriteriaTable.module.scss | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/teachertool/src/components/CriteriaTable.tsx b/teachertool/src/components/CriteriaTable.tsx index b230296bad7f..a57bd97b960c 100644 --- a/teachertool/src/components/CriteriaTable.tsx +++ b/teachertool/src/components/CriteriaTable.tsx @@ -19,9 +19,10 @@ const CriteriaInstanceRow: React.FC = ({ criteriaI } return catalogCriteria ? ( -
+
{catalogCriteria.template} + {catalogCriteria.description &&
{catalogCriteria.description}
}