From 998aac559ec75379b7fd25496ae06073c7b342c5 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Sun, 13 Feb 2022 19:35:21 +0100
Subject: chore: add some noscript tags to explain why the data are not loaded

---
 src/components/Widgets/RelatedThematics/RelatedThematics.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/components/Widgets/RelatedThematics/RelatedThematics.tsx')

diff --git a/src/components/Widgets/RelatedThematics/RelatedThematics.tsx b/src/components/Widgets/RelatedThematics/RelatedThematics.tsx
index c6be3ca..e89d887 100644
--- a/src/components/Widgets/RelatedThematics/RelatedThematics.tsx
+++ b/src/components/Widgets/RelatedThematics/RelatedThematics.tsx
@@ -31,6 +31,12 @@ const RelatedThematics = ({ thematics }: { thematics: ThematicPreview[] }) => {
       )}
       withBorders={true}
     >
+      <noscript>
+        {intl.formatMessage({
+          defaultMessage: 'Javascript is required to load the thematics.',
+          description: 'RelatedThematics: noscript tag',
+        })}
+      </noscript>
       <List items={thematicsList} />
     </ExpandableWidget>
   );
-- 
cgit v1.2.3

