changeset 6671:1526ac7b07a0

[Accessibility] Improve 'role description' for page and tab item (used to read 'radio button').
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Wed, 09 Apr 2014 11:53:22 -0700
parents 774a20d5f1f5
children 3f3a90553739
files modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java	Wed Apr 09 14:43:05 2014 -0400
+++ b/modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java	Wed Apr 09 11:53:22 2014 -0700
@@ -1133,6 +1133,8 @@
                 switch (role) {
                     case TITLED_PANE: result = "title pane"; break;
                     case SPLIT_MENU_BUTTON: result = "split button"; break;
+                    case PAGE: result = "page"; break;
+                    case TAB_ITEM: result = "tab"; break;
                     default:
                         MacSubroles subRole = MacSubroles.getRole(role);
                         result = NSAccessibilityRoleDescription(macRole.ptr, subRole != null ? subRole.ptr : 0l);