diff options
author | Morten Sørvig <[email protected]> | 2022-12-06 09:20:50 +0100 |
---|---|---|
committer | Morten Johan Sørvig <[email protected]> | 2022-12-27 14:30:25 +0000 |
commit | f4dd67461d9873cdbfe7bef970477366047924d7 (patch) | |
tree | 33f341e4eb63ccbfc6636b39ea94dbaa5a36474e /src/plugins/platforms/wasm/qwasmcssstyle.cpp | |
parent | 436501d87754ed61bc2d9f574b97be84c30a3f05 (diff) |
wasm: add accessibility container to QWasmWindow
Add accessibility (a11y) container QWasmWindow. This
container should underlap the canvas with identical
geometry but ordered below.
Pick-to: 6.5
Change-Id: I7b91e3e69e3b1afa1b03ef7f7b7336e48f1a1594
Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmcssstyle.cpp')
-rw-r--r-- | src/plugins/platforms/wasm/qwasmcssstyle.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/platforms/wasm/qwasmcssstyle.cpp b/src/plugins/platforms/wasm/qwasmcssstyle.cpp index a1c6b6a365a..efbe4ddcc40 100644 --- a/src/plugins/platforms/wasm/qwasmcssstyle.cpp +++ b/src/plugins/platforms/wasm/qwasmcssstyle.cpp @@ -146,6 +146,11 @@ const char *Style = R"css( pointer-events: none; } +.qt-window-a11y-container { + position: absolute; + z-index: -1; +} + .title-bar .image-button { width: 18px; height: 18px; |