dorianj/PSMTabBarControl — pull request #6 by Marco-Zehe (2012-07-28 17:51:47+00:00)
Title: Accessibility fix for VoiceOver not reading the tab labels and calling each tab "button". Can be seen in Adium and Vienna RSS.

... the tab's title, followed by the word "Tab", but it only speaks "button". For this, I had to change the NSAccessibilityRoleAttribute to be NSAccessibilityRadioButtonRole, and add values for NSAccessibilityRoleDescriptionAttribute and NSAccessibilityTitleAttribute. This mimics what Safari does.

The benefit is that users get predictable behavior when using applications that use PSMTabBarControl, such as Adium, Vienna RSS and potentially others. Tabs are announced properly and their labels spoken immediately, without having to specifically ask for the tool tip.