summaryrefslogtreecommitdiff
path: root/vcl/osx/a11yrolehelper.mm
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2014-11-20 12:01:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-11-20 11:26:32 +0000
commita669de9c151692a8c24929641a7c12617b1bf458 (patch)
tree842baeef77798eb00e89621568878aadefef328c /vcl/osx/a11yrolehelper.mm
parente24bd9abb27801ea8e6d2d275aa23060ae798012 (diff)
[Accessibility] Make the sidebar a bit accessible
The accessibility of the sidebar is heavily built on PANEL's. Since A11y on mac ignored panels it did not pan out well. Also the title was removed from AXGroupRole but is needed to announce the different panels of the sidebar. This might have some unwanted effects on other parts of LibreOffice since a lot of things are built up from AccessibleRole::PANEL. Change-Id: I095d26b3c89e2c0403d3267baa53f3bec5e07662 Reviewed-on: https://gerrit.libreoffice.org/12985 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/osx/a11yrolehelper.mm')
-rw-r--r--vcl/osx/a11yrolehelper.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/a11yrolehelper.mm b/vcl/osx/a11yrolehelper.mm
index 45423db73327..8d14fc77ab76 100644
--- a/vcl/osx/a11yrolehelper.mm
+++ b/vcl/osx/a11yrolehelper.mm
@@ -96,7 +96,7 @@ using namespace ::com::sun::star::uno;
MAP( AccessibleRole::SEPARATOR, NSAccessibilitySplitterRole ); // FIXME
MAP( AccessibleRole::SLIDER, NSAccessibilitySliderRole );
MAP( AccessibleRole::SPIN_BOX, NSAccessibilityUnknownRole ); // FIXME
- MAP( AccessibleRole::SPLIT_PANE, NSAccessibilitySplitterRole );
+ MAP( AccessibleRole::SPLIT_PANE, NSAccessibilitySplitGroupRole );
MAP( AccessibleRole::STATUS_BAR, NSAccessibilityGroupRole ); // FIXME
MAP( AccessibleRole::TABLE, NSAccessibilityTableRole );
MAP( AccessibleRole::TABLE_CELL, NSAccessibilityTextFieldRole );