From ab9dea7fbd9bc8499d887f89781bcb5486592a93 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 22 May 2024 15:27:07 +0200 Subject: [PATCH] wip #6927 --- js/quiz.accessibility.js | 3 +++ views/screens/question_country.blade.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/js/quiz.accessibility.js b/js/quiz.accessibility.js index ced76ec..3a42005 100644 --- a/js/quiz.accessibility.js +++ b/js/quiz.accessibility.js @@ -23,6 +23,9 @@ QuizAccessibility.prototype = { if (key === 'ENTER') { let el = $(':focus').find('[aria-keyshortcuts]') + if(!el) { + $(':focus').get(0).click(); + } if ($this.quiz.utils.isEnabled(el)) { el.get(0).click((e) => { return false; }); return true; diff --git a/views/screens/question_country.blade.php b/views/screens/question_country.blade.php index 207e5a1..388550e 100644 --- a/views/screens/question_country.blade.php +++ b/views/screens/question_country.blade.php @@ -5,8 +5,8 @@
-