summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-07 21:04:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-08 17:01:02 +0100
commit2c3779475299eeed6fd9836c03aa22e1b3a41e88 (patch)
tree190114092437840b2712c69d375c9bfc10a6ba00 /svx
parent18e2a86f92689dcd43975e69ed79f6575de12a75 (diff)
remove some member-of a11y relations
In some cases the widgets are in frames now so that hierarchical relationship is captured already. In others labelled-by is a better match and/or is already labelled by the widget. Change-Id: Ifecd0eb96afecadbd66fcfdf843ce1590f5c5ff4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131185 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/uiconfig/ui/findreplacedialog-mobile.ui8
-rw-r--r--svx/uiconfig/ui/findreplacedialog.ui10
2 files changed, 14 insertions, 4 deletions
diff --git a/svx/uiconfig/ui/findreplacedialog-mobile.ui b/svx/uiconfig/ui/findreplacedialog-mobile.ui
index a7866db2d14b..3e025317fba2 100644
--- a/svx/uiconfig/ui/findreplacedialog-mobile.ui
+++ b/svx/uiconfig/ui/findreplacedialog-mobile.ui
@@ -992,6 +992,10 @@
<property name="label" translatable="yes" context="findreplacedialog-mobile|searchdir">Direction:</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
+ <accessibility>
+ <relation type="label-for" target="rows"/>
+ <relation type="label-for" target="cols"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1014,7 +1018,7 @@
<property name="active">True</property>
<property name="draw_indicator">True</property>
<accessibility>
- <relation type="member-of" target="searchdir"/>
+ <relation type="labelled-by" target="searchdir"/>
</accessibility>
</object>
<packing>
@@ -1033,7 +1037,7 @@
<property name="draw_indicator">True</property>
<property name="group">rows</property>
<accessibility>
- <relation type="member-of" target="searchdir"/>
+ <relation type="labelled-by" target="searchdir"/>
</accessibility>
</object>
<packing>
diff --git a/svx/uiconfig/ui/findreplacedialog.ui b/svx/uiconfig/ui/findreplacedialog.ui
index 23404d3663a2..4c1e9d2bc45f 100644
--- a/svx/uiconfig/ui/findreplacedialog.ui
+++ b/svx/uiconfig/ui/findreplacedialog.ui
@@ -1053,6 +1053,7 @@
<property name="no-show-all">True</property>
<property name="label" translatable="yes" context="findreplacedialog|searchinlabel">Search i_n:</property>
<property name="use-underline">True</property>
+ <property name="mnemonic-widget">calcsearchin</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -1095,7 +1096,12 @@
<property name="no-show-all">True</property>
<property name="label" translatable="yes" context="findreplacedialog|searchdir">Direction:</property>
<property name="use-underline">True</property>
+ <property name="mnemonic-widget">rows</property>
<property name="xalign">0</property>
+ <accessibility>
+ <relation type="label-for" target="rows"/>
+ <relation type="label-for" target="cols"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1118,7 +1124,7 @@
<property name="active">True</property>
<property name="draw-indicator">True</property>
<accessibility>
- <relation type="member-of" target="searchdir"/>
+ <relation type="labelled-by" target="searchdir"/>
</accessibility>
</object>
<packing>
@@ -1137,7 +1143,7 @@
<property name="draw-indicator">True</property>
<property name="group">rows</property>
<accessibility>
- <relation type="member-of" target="searchdir"/>
+ <relation type="labelled-by" target="searchdir"/>
</accessibility>
</object>
<packing>