Skip to content

Commit

Permalink
Update braille and speak active cell and its content in MS Excel when…
Browse files Browse the repository at this point in the history
… UIA is not used and control+y, control+z or alt+backspace is pressed (#15595)

fixes #15547

Summary of the issue:
When UIA is not used and control+y (redo), control+z / alt+backspace (undo) is pressed, braille is not updated and active cell and its content is not spoken.

Description of user facing changes
Braille is updated and active cell with its content is spoken.

Description of development approach
Added gestures control+y, control+z and alt+backspace to NVDAObjects.window.excel.ExcelWorksheet.script_changeSelection.
  • Loading branch information
burmancomp authored Oct 10, 2023
1 parent 74476eb commit 88e5cf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/NVDAObjects/window/excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,9 @@ def _get_states(self):
"kb:control+a",
"kb:control+v",
"kb:shift+f11",
"kb:control+y",
"kb:control+z",
"kb:alt+backspace",
), canPropagate=True)

def script_changeSelection(self,gesture):
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.t2t
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This option now announces additional relevant information about an object when t
- Multi line state is now correctly reported in applications using Java Access Bridge. (#14609)
- In LibreOffice, words deleted using the ``control+backspace`` keyboard shortcut are now also properly announced when the deleted word is followed by whitespace (like spaces and tabs). (#15436)
- In LibreOffice, announcement of the status bar using the ``NVDA+end`` keyboard shortcut now also works for dialogs in LibreOffice version 24.2 and newer. (#15591)
- In Microsoft Excel with UIA disabled, braille is updated, and the active cell content is spoken, when ``control+y``, ``control+z`` or ``alt+backspace`` is pressed. (15547)
-

== Changes for Developers ==
Expand Down

0 comments on commit 88e5cf6

Please sign in to comment.