From 56596549d9517d5f4477616b5edbd3397285e809 Mon Sep 17 00:00:00 2001 From: Saw-jan Date: Wed, 22 Apr 2026 18:11:41 +0545 Subject: [PATCH 1/2] fix(ui): fix space selection for a11y Signed-off-by: Saw-jan --- src/gui/spaces/qml/SpacesView.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/gui/spaces/qml/SpacesView.qml b/src/gui/spaces/qml/SpacesView.qml index 77981f63f0..16e7a7672d 100644 --- a/src/gui/spaces/qml/SpacesView.qml +++ b/src/gui/spaces/qml/SpacesView.qml @@ -93,6 +93,10 @@ Pane { width: scrollView.availableWidth implicitHeight: normalSize + function selectSpace() { + spaceDelegate.ListView.view.currentIndex = spaceDelegate.index; + } + Pane { id: delegatePane @@ -102,6 +106,9 @@ Pane { Accessible.role: Accessible.ListItem Accessible.selectable: true Accessible.selected: space === spacesBrowser.currentSpace + Accessible.onPressAction: { + spaceDelegate.selectSpace(); + } clip: true @@ -132,7 +139,7 @@ Pane { MouseArea { anchors.fill: parent onClicked: { - spaceDelegate.ListView.view.currentIndex = spaceDelegate.index; + spaceDelegate.selectSpace(); } } } From 20622763c1394fd9aa9fae5db219d3b058669d13 Mon Sep 17 00:00:00 2001 From: Saw-jan Date: Fri, 24 Apr 2026 14:30:13 +0545 Subject: [PATCH 2/2] fix(ui): fix account tab selection for a11y Signed-off-by: Saw-jan --- src/gui/qml/AccountBar.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/qml/AccountBar.qml b/src/gui/qml/AccountBar.qml index 29f62bdb5a..4f158b74ad 100644 --- a/src/gui/qml/AccountBar.qml +++ b/src/gui/qml/AccountBar.qml @@ -79,6 +79,9 @@ Pane { ToolTip.delay: 500 Accessible.name: accountState.account.displayNameWithHost + Accessible.onPressAction: { + clicked(); + } Connections { target: accountState.account