[orca] Ensure we present level for headings in editable content
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ensure we present level for headings in editable content
- Date: Wed, 26 Feb 2020 13:08:43 +0000 (UTC)
commit 952d0f321a69a149f951787374ab9404c434a02d
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]