Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.3, 5.15.4, 6.3.0 Alpha
-
Pixel 3a, Android 11, English, TalkBack on.
-
-
8
-
f6ddb3e921 (qt/qtbase/dev) f6ddb3e921 (qt/tqtc-qtbase/dev) c577794418 (qt/qtbase/6.3) ef233748af (qt/qtbase/6.2) ef233748af (qt/tqtc-qtbase/6.2) c577794418 (qt/tqtc-qtbase/6.3) 7e1e42d7f9 (qt/tqtc-qtbase/5.15)
-
Team One Foundation Sprint 50
Description
Context
Items on Android Phone with TalkBack activated should be shown as dedicated elements a blind person can navigate through. It has to fulfill requirements of WCAG 2.0 / WCAG2ICT
Expectations
- Only visible elements can be clicked / activated
Observation
Items that get's hidden in a StackLayout still fire onPressAction even if no longer visible.
IMG_4727.MOV. Video with App with current 5.15.4.
Code
import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 Window { visible: true Column { Text { text: "Index: " + stackLayout.currentIndex } StackLayout { id: stackLayout Button { text: "Button 1" onClicked: () => stackLayout.currentIndex++ Accessible.onPressAction: () => stackLayout.currentIndex++ } Button { text: "Button 2" onClicked: () => stackLayout.currentIndex-- Accessible.onPressAction: () => stackLayout.currentIndex-- } } } }