Bug fixes from ports lol.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user