From 363f7000c516732c38980531492ff1db8559c03e Mon Sep 17 00:00:00 2001 From: Even Oscar Andersen Date: Thu, 27 Mar 2025 08:05:35 +0100 Subject: [PATCH] wasm: a11y - Add call to setActive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are various tests for this within the accessibility system. Without it, it is not consistent what works and what does not work. Task-number: QTBUG-134657 Change-Id: Idfa8905f377e2ef00a4d1af26cbf001064bc75dc Reviewed-by: Morten Johan Sørvig --- src/plugins/platforms/wasm/qwasmaccessibility.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/wasm/qwasmaccessibility.cpp b/src/plugins/platforms/wasm/qwasmaccessibility.cpp index 6985874b581..e3a46db43ce 100644 --- a/src/plugins/platforms/wasm/qwasmaccessibility.cpp +++ b/src/plugins/platforms/wasm/qwasmaccessibility.cpp @@ -88,6 +88,7 @@ void QWasmAccessibility::enableAccessibility() Q_ASSERT(!m_accessibilityEnabled); m_accessibilityEnabled = true; + setActive(true); for (const auto& [key, value] : m_enableButtons) { const auto &[element, callback] = value; Q_UNUSED(key);