summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@hypra.fr>2018-08-09 14:32:31 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-08-17 13:21:38 +0200
commit5ee3c68d1633c7b544b06372da298380ac81d04d (patch)
treeb982d4e88cc6bf579658d78e1da472a0b6908688
parentac475d8d6fb68798ebd77f291bef6336e580859a (diff)
a11y: Use ATK "footnote" role
instead of "comment" which is less precise. Change-Id: Icca55a3c440748f311d896aac648a7a6d89f3bc4 Reviewed-on: https://gerrit.libreoffice.org/58763 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--vcl/unx/gtk/a11y/atkwrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx
index 7758f3317595..e72275e77466 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.cxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.cxx
@@ -317,8 +317,8 @@ static AtkRole mapToAtkRole( sal_Int16 nRole )
roleMap[accessibility::AccessibleRole::IMAGE_MAP] = getRoleForName("image map");
roleMap[accessibility::AccessibleRole::TREE_ITEM] = getRoleForName("tree item");
roleMap[accessibility::AccessibleRole::HYPER_LINK] = getRoleForName("link");
- roleMap[accessibility::AccessibleRole::END_NOTE] = getRoleForName("comment");
- roleMap[accessibility::AccessibleRole::FOOTNOTE] = getRoleForName("comment");
+ roleMap[accessibility::AccessibleRole::END_NOTE] = getRoleForName("footnote");
+ roleMap[accessibility::AccessibleRole::FOOTNOTE] = getRoleForName("footnote");
roleMap[accessibility::AccessibleRole::NOTE] = getRoleForName("comment");
initialized = true;