Skip to content

Commit b619456

Browse files
authored
Merge c87d030 into 8c9efe8
2 parents 8c9efe8 + c87d030 commit b619456

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

source/NVDAObjects/IAccessible/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,9 @@ def _get_shouldAllowIAccessibleMenuStartEvent(self) -> bool:
892892
return True
893893

894894
def _get_TextInfo(self):
895-
if hasattr(self, "IAccessibleTextObject"):
895+
if hasattr(self, "IAccessibleTextObject") and (
896+
self.role == controlTypes.Role.EDITABLETEXT or controlTypes.State.EDITABLE in self.states
897+
):
896898
return IA2TextTextInfo
897899
return super(IAccessible, self).TextInfo
898900

user_docs/en/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
* Search suggestions are now reported reliably.
3535
* In Windows 11, NVDA will no longer announce emoji panel items twice while browsing them. (#18236, @josephsl)
3636
* It is now possible to route to any braille cell on the Humanware Monarch multiline braille device, using their point and click action. (#18248)
37+
* In focus mode in web browsers, it is now possible to review and spell the labels of controls when those labels are specifically provided for accessibility; e.g. via aria-label or aria-labelledby. (#15159, @jcsteh)
3738

3839
### Changes for Developers
3940

0 commit comments

Comments
 (0)