Bug fixes from ports lol.

This commit is contained in:
Storm Dragon
2026-01-06 18:15:29 -05:00
parent 17c9eee4a1
commit 7aaa94fd4f
5 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -23,5 +23,5 @@
# Forked from Orca screen reader.
# Cthulhu project: https://git.stormux.org/storm/cthulhu
version = "2025.12.31"
version = "2026.01.06"
codeName = "testing"
-2
View File
@@ -1342,8 +1342,6 @@ class Generator:
if self._script.utilities.isLandmarkRegion(obj):
return 'ROLE_REGION'
return Atspi.Role.LANDMARK
if self._script.utilities.isFocusableLabel(obj):
return Atspi.Role.LIST_ITEM
if self._script.utilities.isDocument(obj) and AXObject.supports_image(obj):
return Atspi.Role.IMAGE
+1 -1
View File
@@ -1457,7 +1457,7 @@ class SpeechGenerator(generator.Generator):
string = result[0].strip()
if len(string) == 1 and self._script.utilities.isMath(obj):
charname = chnames.getCharacterName(string, preferMath=True)
if charname != string:
if charname and charname != string:
result[0] = charname
result.extend(self.voice(DEFAULT, obj=obj, **args))