Implement a11y support by adding html elements (Toolbar, Menu, DialogBox) and events of the appropriate type and/or with the appropriate ARIA attribute behind the canvas. Pick-to: 6.5 Change-Id: If9c9fbff9a451b44e57de5d8834f4a78f33f41bc Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
22 lines
528 B
CMake
22 lines
528 B
CMake
qt_internal_add_manual_test(a11y_basic_widgets
|
|
GUI
|
|
SOURCES
|
|
tabswidget.cpp
|
|
tabswidget.h
|
|
basica11ywidget.h
|
|
basica11ywidget.cpp
|
|
main.cpp
|
|
LIBRARIES
|
|
Qt::Core
|
|
Qt::Gui
|
|
Qt::Widgets
|
|
)
|
|
|
|
add_custom_command(
|
|
TARGET a11y_basic_widgets PRE_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
${CMAKE_CURRENT_SOURCE_DIR}/basic_widgets.html
|
|
${CMAKE_CURRENT_BINARY_DIR}/basic_widgets.html
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/basic_widgets.html
|
|
)
|