From 87f42186f591d217bc35b23c9c2f255905634e4e Mon Sep 17 00:00:00 2001 From: Terremoto BCN Date: Sat, 9 Apr 2022 18:37:08 +0200 Subject: [PATCH] Fix accesibility issues --- index.html | 15 ++++++++------- js/behavior.js | 3 ++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 1476992..b3fb243 100644 --- a/index.html +++ b/index.html @@ -33,25 +33,26 @@
illustration-woman-online-desktop - + alt="illustration of a woman on a whiteboard"> + illustration of a Box

FAQ

-
+

How many team members can I invite?

You can invite up to 2 additional users on the Free plan. There is no limit on team members for the Premium plan.

-
+

What is the maximum file upload size?

No more than 2GB. All files in your account must fit your allotted storage space.

-
+

How do I reset my password?

Click “Forgot password” from the login page or “Change password” from your profile page. A @@ -67,13 +68,13 @@

How do I reset my password?

eligendi. Beatae, hic doloremque.

-
+

Can I cancel my subscription?

Yes! Send us a message and we’ll process your request no questions asked.

-
+

Do you provide additional support?

Chat and email support is available 24/7. Phone lines are open during normal business hours. diff --git a/js/behavior.js b/js/behavior.js index b74c450..15e66f2 100644 --- a/js/behavior.js +++ b/js/behavior.js @@ -5,7 +5,8 @@ const faqArticles = document.getElementsByClassName("faq__article"); // add Event listener for (let article of faqArticles) { - article.addEventListener("click", setActiveArticle, false); + // article.addEventListener("click", setActiveArticle, false); + article.addEventListener("focus", setActiveArticle, false); } /* Clear & hidde all active articles */