[orca] Display alternative text for cell indices
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Display alternative text for cell indices
- Date: Thu, 6 Jun 2019 00:19:40 +0000 (UTC)
commit fb2e35418239659006d1eb345bd9a7f1cc5f596c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Jun 5 20:18:39 2019 -0400
Display alternative text for cell indices
src/orca/scripts/web/braille_generator.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/braille_generator.py b/src/orca/scripts/web/braille_generator.py
index bde861570..51840782f 100644
--- a/src/orca/scripts/web/braille_generator.py
+++ b/src/orca/scripts/web/braille_generator.py
@@ -89,7 +89,11 @@ class BrailleGenerator(braille_generator.BrailleGenerator):
result.append(messages.IMAGE_MAP_LINK)
elif role not in doNotDisplay:
- result = super()._generateRoleName(obj, **args)
+ label = self._script.utilities.labelForCellCoordinates(obj)
+ if label:
+ result.append(label)
+ else:
+ result = super()._generateRoleName(obj, **args)
index = args.get('index', 0)
total = args.get('total', 1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]