[orca] Prefer the name over the displayedText when speaking links



commit 73a651a974a890ec9b8a08ad52b75a517b727997
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Mar 29 11:57:02 2018 -0400

    Prefer the name over the displayedText when speaking links

 src/orca/formatting.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 8dd30e8..e552f70 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -259,7 +259,7 @@ formatting = {
             'detailedWhereAmI': 'labelAndName + pause + roleName + pause + selectedItemCount + pause + 
selectedItems + pause'
             },
         pyatspi.ROLE_LINK: {
-            'unfocused': '(displayedText or name) + roleName + pause + expandableState + availability + ' + 
MNEMONIC,
+            'unfocused': '(name or displayedText) + roleName + pause + expandableState + availability + ' + 
MNEMONIC,
             'basicWhereAmI': 'linkInfo + pause + siteDescription + pause + fileSize + pause + ' + MNEMONIC
             },
         pyatspi.ROLE_LIST: {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]