Skip to content

Commit

Permalink
Merge pull request #23 from nvaccess/beta
Browse files Browse the repository at this point in the history
Merge beta to l10n
  • Loading branch information
seanbudd authored Jul 18, 2024
2 parents 6fa7910 + a675db0 commit 1f5cc1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/NVDAObjects/IAccessible/ia2TextMozilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@ def _getControlFieldForObject(self, obj, ignoreEditableText=True):
uniqueID = obj.IA2UniqueID
if uniqueID is not None:
controlField["uniqueID"] = uniqueID
# #16631: Outlook.com /modern Outlook represent addresses in To/CC/BCC fields as labelled buttons.
# These buttons are non-contenteditable within a parent contenteditable.
# Ensure their label (name) is reported as the content
# as the caret cannot move through them.
if (
obj.role == controlTypes.role.Role.BUTTON
and controlTypes.state.State.EDITABLE not in obj.states
and obj.parent
and controlTypes.state.State.EDITABLE in obj.parent.states
):
controlField['content'] = obj.name
return controlField

def _isCaretAtEndOfLine(self, caretObj: IAccessible) -> bool:
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ A warning message will inform you if you try writing to a non-empty directory. (
* Speech is no longer silent after disconnecting from and reconnecting to a Remote Desktop session. (#16722, @jcsteh)
* Support added for text review commands for an object's name in Visual Studio Code. (#16248, @Cary-Rowen)
* Playing NVDA sounds no longer fails on a mono audio device. (#16770, @jcsteh)
* NVDA will report addresses when arrowing through To/CC/BCC fields in outlook.com / Modern Outlook. (#16856)
* NVDA now handles add-on installation failures more gracefully. (#16704)

### Changes for Developers
Expand Down

0 comments on commit 1f5cc1e

Please sign in to comment.