summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2014-03-20 18:27:39 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-06-10 16:33:57 +0100
commitfa9ceadbd339b8adff1db7e8c0661dc05229608e (patch)
treed3264043f670dc3496e219e1a757d9e4b6df966c /vcl
parent8335ab14650abc88421eba2a33817bb3bb033cc6 (diff)
Improve Accessibility mapping of roles for Mac
Since role Heading now is exposed to A11y we need to give it a better role then unknown, otherwise it gets inaccessible to VoiceOver. Until I get a better grip on how to best expose AXHeading, let's map it to textAreaRole so we at least get back to the behaviour before IA2 integration. Header and Footer is probably best mapped to AXGroup. Change-Id: I6353f4d25c18e6e550df289ca2e999ad1c01f2a8 Reviewed-on: https://gerrit.libreoffice.org/8682 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/aqua/source/a11y/aqua11yrolehelper.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/aqua/source/a11y/aqua11yrolehelper.mm b/vcl/aqua/source/a11y/aqua11yrolehelper.mm
index 0d55279823ac..2ee62af95073 100644
--- a/vcl/aqua/source/a11y/aqua11yrolehelper.mm
+++ b/vcl/aqua/source/a11y/aqua11yrolehelper.mm
@@ -59,14 +59,14 @@ using namespace ::com::sun::star::uno;
MAP( AccessibleRole::FILE_CHOOSER, NSAccessibilityUnknownRole ); // FIXME
MAP( AccessibleRole::FILLER, NSAccessibilityUnknownRole ); // FIXME
MAP( AccessibleRole::FONT_CHOOSER, NSAccessibilityUnknownRole ); // FIXME
- MAP( AccessibleRole::FOOTER, NSAccessibilityUnknownRole ); // FIXME
+ MAP( AccessibleRole::FOOTER, NSAccessibilityGroupRole ); // FIXME
MAP( AccessibleRole::FOOTNOTE, NSAccessibilityUnknownRole ); // FIXME
MAP( AccessibleRole::FRAME, NSAccessibilityWindowRole );
MAP( AccessibleRole::GLASS_PANE, NSAccessibilityUnknownRole ); // FIXME
MAP( AccessibleRole::GRAPHIC, NSAccessibilityImageRole );
MAP( AccessibleRole::GROUP_BOX, NSAccessibilityGroupRole );
- MAP( AccessibleRole::HEADER, NSAccessibilityUnknownRole ); // FIXME
- MAP( AccessibleRole::HEADING, NSAccessibilityUnknownRole ); // FIXME
+ MAP( AccessibleRole::HEADER, NSAccessibilityGroupRole ); // FIXME
+ MAP( AccessibleRole::HEADING, NSAccessibilityTextAreaRole ); // FIXME
MAP( AccessibleRole::HYPER_LINK, NSAccessibilityLinkRole );
MAP( AccessibleRole::ICON, NSAccessibilityImageRole );
MAP( AccessibleRole::INTERNAL_FRAME, NSAccessibilityUnknownRole ); // FIXME