diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2021-01-14 18:46:17 +0100 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2021-01-29 11:05:52 +0100 |
commit | 4b1acb290dc8869d0d2d1250dc1ed415d6b6e202 (patch) | |
tree | b542f3cd93d6ea07b0843c853bd38c2498ba4724 /src/quicktemplates2/quicktemplates2.pro | |
parent | f9813dfa243d109dd027a40b5ca505fdee79e877 (diff) |
a11y: Fix ordering on header, content item and footer in Page
Because of the previous behavior, the footer could be read aloud by
the screen reader before the content item. And even worse, the footer
could be read aloud even before the header in some cases. This made
it hard for visually impaired people to use the application.
The Page type was used by the Dialog type, so it also affected that.
Fixes: QTBUG-75042
Pick-to: 5.15 6.0
Change-Id: Ic3e8ec3f7dcf18af9262b1d35c986835c8da6900
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/quicktemplates2/quicktemplates2.pro')
-rw-r--r-- | src/quicktemplates2/quicktemplates2.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quicktemplates2/quicktemplates2.pro b/src/quicktemplates2/quicktemplates2.pro index 06fa0ee7..890845a5 100644 --- a/src/quicktemplates2/quicktemplates2.pro +++ b/src/quicktemplates2/quicktemplates2.pro @@ -10,7 +10,11 @@ DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII HEADERS += \ $$PWD/qtquicktemplates2global_p.h +SOURCES += \ + $$PWD/qtquicktemplates2global.cpp + include(quicktemplates2.pri) +include(accessible/accessible.pri) load(qt_module) QMLTYPES_FILENAME = plugins.qmltypes |