diff options
| author | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-26 16:33:29 +0100 |
|---|---|---|
| committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-22 11:39:15 +0200 |
| commit | ef72e969629b5652eb89d0e80143bd6f31a20b72 (patch) | |
| tree | e5c8262bdf56507eab788605d31bf8e4b52cb1bb /src/corelib/tools/qcommandlineparser.cpp | |
| parent | 5178606a98be57f6dc5f3dddc1fa0f1e16c933e5 (diff) | |
a11y: Report actual platform window name on Windows
Remember the value set for the window name
in QWindowsWindow::setWindowTitle.
Override QPlatformWindow::windowTitle introduced
in a previous commit for QWindowsWindow and let
it return the formatted window name as it
was actually set.
With this in place, the NVDA screen reader on
Windows now announces "MyApp, window" as expected
when the sample app from QTBUG-127563 receives focus, and
the accessible name that is now matching the displayed window
title can also be seen in NVDA's interactive Python
console:
>>> focus.name
'MyApp'
Fixes: QTBUG-127563
Change-Id: Ifca165d6c302199d771ce0805c4d2d91047ca31c
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions
