Don't treat the misnamed NSAccessibilitySortButtonRole as an accessibility role.
It is really a subrole of NSAccessibilityButtonRole. As it is not used inside WebCore there is no change in behaviour as a result of doing this. This fixes <rdar://problem/5866444>. Reviewed by Jon Honeycutt. * page/AccessibilityObject.cpp: (WebCore::AccessibilityObject::canSetFocusAttribute): Remove SortButtonRole as it is unused. * page/AccessibilityObject.h: Ditto. (WebCore::): * page/mac/AccessibilityObjectWrapper.mm: (RoleEntry::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 18 additions and 3 deletions