From ee254cd562f9e7921487141740cd94abaebfc95c Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Wed, 4 Nov 2026 17:13:08 +0100 Subject: [PATCH 1/3] fix(a11y): focus the title of new questions of every type Adding a question moves the focus to the title of the new question. Only checkbox and radio questions handed their root element to useQuestion, so for all other types the focus stayed on the closed menu and fell back to the page. Every question component now hands its root element to useQuestion. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger --- src/components/Questions/QuestionColor.vue | 7 +++++-- src/components/Questions/QuestionDate.vue | 7 +++++-- src/components/Questions/QuestionDropdown.vue | 5 ++++- src/components/Questions/QuestionFile.vue | 5 ++++- src/components/Questions/QuestionGrid.vue | 5 ++++- src/components/Questions/QuestionLinearScale.vue | 5 ++++- src/components/Questions/QuestionLong.vue | 5 ++++- src/components/Questions/QuestionRanking.vue | 5 ++++- src/components/Questions/QuestionShort.vue | 5 ++++- 9 files changed, 38 insertions(+), 11 deletions(-) diff --git a/src/components/Questions/QuestionColor.vue b/src/components/Questions/QuestionColor.vue index 5241f41a7..5b96a86c9 100644 --- a/src/components/Questions/QuestionColor.vue +++ b/src/components/Questions/QuestionColor.vue @@ -5,6 +5,7 @@