From 0c307f45fd3214b24926e14baf7d541863a8f3f2 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Tue, 23 Sep 2014 22:19:40 +0200 Subject: [PATCH] Accessibility OS X: Fix image role Change-Id: I0839a30041dbe558c420c944da49abe8ea26e0ab Reviewed-by: Jake Petroules --- src/plugins/platforms/cocoa/qcocoaaccessibility.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/cocoa/qcocoaaccessibility.mm b/src/plugins/platforms/cocoa/qcocoaaccessibility.mm index 204e0ed98b..1ade985b79 100644 --- a/src/plugins/platforms/cocoa/qcocoaaccessibility.mm +++ b/src/plugins/platforms/cocoa/qcocoaaccessibility.mm @@ -158,6 +158,7 @@ static void populateRoleMap() roleMap[QAccessible::Heading] = @"AXHeading"; roleMap[QAccessible::Note] = NSAccessibilityGroupRole; roleMap[QAccessible::ComplementaryContent] = NSAccessibilityGroupRole; + roleMap[QAccessible::Graphic] = NSAccessibilityImageRole; } /*