Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9.1
-
None
-
-
ad17c15c1 (dev), 191af18be (6.10), 1fc43a371 (6.9), df2c40297 (dev), 33ba342e5 (6.10), 6afdf0e00 (6.9), bfe8169b0 (dev), f5cc66bbb (6.10), 71e965f8b (6.9)
Description
When navigating a simple QML ApplicationWindow with tab/backtab the focus order differs from the visual order.
The order is menuBar > header > footer > contentItem whereas the visual order is menuBar > header > contentItem > footer.
This behavior seems confusing. Is it by design?
When using a screen reader the order seems correct with the exception of iOS (QTBUG-131404).
import QtQuick import QtQuick.Controls ApplicationWindow { id: root flags: Qt.Window visible: true footer: FocusableText { text: "This is the footer" } header: FocusableText { text: "This is the header" } menuBar: FocusableText { text: "This is the menuBar" } FocusableText { text: "This is the actual content" } component FocusableText: Text { activeFocusOnTab: true font.bold: activeFocus } }
Attachments
Issue Links
- relates to
-
QTBUG-123207 QQC2.Page footer takes focus before header and contentItem
-
- Reported
-