From fbd1d59a8000324ae7626f24f6062f09addc94de Mon Sep 17 00:00:00 2001 From: Joanmarie Diggs Date: Sat, 24 Jun 2017 08:18:00 +0200 Subject: [PATCH] Bug 1376108 - Fix macOS mapping for ARIA separator role. r=marcoz According to the Core Accessibility API Mappings 1.1 spec, on macOS, the separator role should have AXRoleDescription "splitter" and no subrole. The incorrect AXRoleDescription is due to the subrole mapping to AXContentSeparator. Thus removing the latter fixes the former. --- accessible/mac/mozAccessible.mm | 3 --- 1 file changed, 3 deletions(-) diff --git a/accessible/mac/mozAccessible.mm b/accessible/mac/mozAccessible.mm index 213c28585c1c..260cc507c869 100644 --- a/accessible/mac/mozAccessible.mm +++ b/accessible/mac/mozAccessible.mm @@ -886,9 +886,6 @@ ConvertToNSArray(nsTArray& aArray) case roles::ALERT: return @"AXApplicationAlert"; - case roles::SEPARATOR: - return @"AXContentSeparator"; - case roles::PROPERTYPAGE: return @"AXTabPanel";