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>
This commit is contained in:
committed by
Caolán McNamara
parent
509441038a
commit
44a6c8eed8
@@ -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
|
||||
|
Reference in New Issue
Block a user