[orca] Prefer name over label for radio buttons



commit 1d9043d87c12ab7e2775ce20c386fec53191566d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Feb 19 21:42:03 2016 -0500

    Prefer name over label for radio buttons

 src/orca/formatting.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index bb2f6c0..ac84ac0 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -332,8 +332,8 @@ formatting = {
             },
         pyatspi.ROLE_RADIO_BUTTON: {
             'focused': 'radioState',
-            'unfocused': 'labelOrName + pause + radioState + roleName + availability + lineBreak + ' + 
MNEMONIC + ' + accelerator + pause + positionInList + pause',
-            'basicWhereAmI': 'radioButtonGroup + pause + labelOrName + roleName + pause + radioState + pause 
+ positionInGroup + ' + MNEMONIC + ' + accelerator'
+            'unfocused': '(name or label) + pause + radioState + roleName + availability + lineBreak + ' + 
MNEMONIC + ' + accelerator + pause + positionInList + pause',
+            'basicWhereAmI': 'radioButtonGroup + pause + (name or label) + roleName + pause + radioState + 
pause + positionInGroup + ' + MNEMONIC + ' + accelerator'
             },
         pyatspi.ROLE_RADIO_MENU_ITEM: {
             # OpenOffice check menu items currently have a role of "menu item"


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