Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311631 - [Accessibility] VoiceOver doesn't read the title of tabs in a tab group
Summary: [Accessibility] VoiceOver doesn't read the title of tabs in a tab group
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.6 RC1   Edit
Assignee: Scott Kovatch CLA
QA Contact: Carolyn MacLeod CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 16:51 EDT by Scott Kovatch CLA
Modified: 2010-05-05 13:12 EDT (History)
0 users

See Also:
carolynmacleod4: review+


Attachments
Fix (4.62 KB, patch)
2010-05-04 18:08 EDT, Scott Kovatch CLA
no flags Details | Diff
Fix (2.04 KB, patch)
2010-05-04 18:10 EDT, Scott Kovatch CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Kovatch CLA 2010-05-04 16:51:29 EDT
I20100429-1549

VoiceOver isn't reading the title of a tab.

1. Launch ControlExample
2. Turn on VoiceOver.
3. Click on a tab

You hear "selected tab xx of 25" but the title isn't announced. Compare with System Preferences -> Keyboard (for example), where the name of the tab is announced when you click on it.

This is a standard control so we shouldn't be overriding anything.
Comment 1 Scott Kovatch CLA 2010-05-04 16:52:38 EDT
Accessibility Inspector reports that AXTitle is the empty string. That's probably a good starting point.
Comment 2 Scott Kovatch CLA 2010-05-04 18:08:12 EDT
Created attachment 167056 [details]
Fix

TabItems have an empty label so the text can be drawn at a later time. That causes the standard accessibility code to read the item as having a blank title. Fix that by overriding accessibilityAttributeValue to get the text and tooltip text for the tab.
Comment 3 Scott Kovatch CLA 2010-05-04 18:09:23 EDT
Car, please review.
Comment 4 Scott Kovatch CLA 2010-05-04 18:10:50 EDT
Created attachment 167057 [details]
Fix

Attach the right files this time.
Comment 5 Carolyn MacLeod CLA 2010-05-05 12:56:51 EDT
Looks good, Scott - go ahead and set the target milestone for RC1 and commit.
Comment 6 Scott Kovatch CLA 2010-05-05 13:12:47 EDT
Fixed > 20100505.