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.
This commit is contained in:
Joanmarie Diggs committed 2017-06-24 08:18:00 +02:00
1 parent 6405397211
commit fbd1d59a80
1 file changed
-3
-3
View File
@@ -886,9 +886,6 @@ ConvertToNSArray(nsTArray<ProxyAccessible*>& aArray)
case roles::ALERT:
return @"AXApplicationAlert";
case roles::SEPARATOR:
return @"AXContentSeparator";
case roles::PROPERTYPAGE:
return @"AXTabPanel";