[orca/gnome-3-36] Ensure we present level for headings in editable content
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-36] Ensure we present level for headings in editable content
- Date: Wed, 26 Feb 2020 13:37:23 +0000 (UTC)
commit 035d5e12ef52d791b39652a88099c38485564a94
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Feb 26 14:07:46 2020 +0100
Ensure we present level for headings in editable content
src/orca/scripts/web/speech_generator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index 9912edd12..2ec9a1407 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -468,7 +468,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
if self._script.utilities.isMenuInCollapsedSelectElement(obj):
doNotSpeak.append(pyatspi.ROLE_MENU)
- if obj.getState().contains(pyatspi.STATE_EDITABLE):
+ if obj.getState().contains(pyatspi.STATE_EDITABLE) and role != pyatspi.ROLE_HEADING:
lastKey, mods = self._script.utilities.lastKeyAndModifiers()
if ((lastKey in ["Down", "Right"] and not mods) or self._script.inSayAll()) and start:
return []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]