[orca] Don't present image children of links if the image lacks an explicit name
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't present image children of links if the image lacks an explicit name
- Date: Sat, 23 May 2020 17:30:15 +0000 (UTC)
commit 691f4607d5892932cfdfa9202d262c10c35b3dd5
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat May 23 13:29:13 2020 -0400
Don't present image children of links if the image lacks an explicit name
src/orca/scripts/web/script_utilities.py | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 16501f18a..118a08bd5 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -3766,10 +3766,6 @@ class Utilities(script_utilities.Utilities):
rv = False
if rv and obj.getState().contains(pyatspi.STATE_FOCUSABLE):
rv = False
- if rv and obj.parent.getRole() == pyatspi.ROLE_LINK:
- uri = self.uri(obj.parent)
- if uri and not uri.startswith('javascript'):
- rv = False
if rv and 'Image' in pyatspi.listInterfaces(obj):
image = obj.queryImage()
if image.imageDescription:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]