diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2023-04-14 17:01:01 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-04-18 12:38:40 +0200 |
commit | 898b77b645cc8b3911bc0722f538ad61f12835c8 (patch) | |
tree | f9e1b616c419285d95f6677326971ff21dd2558f | |
parent | aff9ea4c77e3cdcee6713c84aca26e5b195c4f3d (diff) |
Solve or suppress accessibility warnings
Change-Id: Ice45231375e659ea25907c1af0a48ca77d3cb63b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150421
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
-rw-r--r-- | sc/uiconfig/scalc/ui/sidebarnumberformat.ui | 6 | ||||
-rw-r--r-- | sc/uiconfig/scalc/ui/solverdlg.ui | 1 | ||||
-rw-r--r-- | sc/uiconfig/scalc/ui/sortcriteriapage.ui | 12 | ||||
-rw-r--r-- | sc/uiconfig/scalc/ui/sortkey.ui | 6 | ||||
-rw-r--r-- | sc/uiconfig/scalc/ui/sortoptionspage.ui | 12 | ||||
-rw-r--r-- | solenv/sanitizers/ui/modules/scalc.suppr | 3 |
6 files changed, 39 insertions, 1 deletions
diff --git a/sc/uiconfig/scalc/ui/sidebarnumberformat.ui b/sc/uiconfig/scalc/ui/sidebarnumberformat.ui index 3da15aa75a1e..f662e2246f0a 100644 --- a/sc/uiconfig/scalc/ui/sidebarnumberformat.ui +++ b/sc/uiconfig/scalc/ui/sidebarnumberformat.ui @@ -199,6 +199,9 @@ <property name="label" translatable="yes" context="sidebarnumberformat|leadingzeroeslabel">Leading _zeroes:</property> <property name="use_underline">True</property> <property name="xalign">0</property> + <accessibility> + <relation type="label-for" target="leadingzeroes"/> + </accessibility> </object> <packing> <property name="left_attach">0</property> @@ -218,6 +221,9 @@ <property name="AtkObject::accessible-name" translatable="yes" context="sidebarnumberformat|leadingzeroes-atkobject">Leading Zeroes</property> </object> </child> + <accessibility> + <relation type="labelled-by" target="leadingzeroeslabel"/> + </accessibility> </object> <packing> <property name="left_attach">1</property> diff --git a/sc/uiconfig/scalc/ui/solverdlg.ui b/sc/uiconfig/scalc/ui/solverdlg.ui index 458a205ba5d4..f5b1e7ebe036 100644 --- a/sc/uiconfig/scalc/ui/solverdlg.ui +++ b/sc/uiconfig/scalc/ui/solverdlg.ui @@ -140,7 +140,6 @@ <property name="can-focus">False</property> <property name="label" translatable="yes" context="solverdlg|result">Optimize result to</property> <property name="use-underline">True</property> - <property name="mnemonic-widget">max</property> <property name="xalign">0</property> <property name="yalign">0</property> <accessibility> diff --git a/sc/uiconfig/scalc/ui/sortcriteriapage.ui b/sc/uiconfig/scalc/ui/sortcriteriapage.ui index 67ebed40ab82..f56e5e1fd8ef 100644 --- a/sc/uiconfig/scalc/ui/sortcriteriapage.ui +++ b/sc/uiconfig/scalc/ui/sortcriteriapage.ui @@ -98,6 +98,9 @@ <property name="use-underline">True</property> <property name="draw-indicator">True</property> <property name="group">rbTopDown</property> + <accessibility> + <relation type="labelled-by" target="lbDirection"/> + </accessibility> </object> <packing> <property name="left-attach">1</property> @@ -110,6 +113,9 @@ <property name="can-focus">False</property> <property name="label" translatable="yes" context="sortcriteriapage|lbDirection">Direction:</property> <property name="xalign">1</property> + <accessibility> + <relation type="label-for" target="rbLeftRight"/> + </accessibility> </object> <packing> <property name="left-attach">0</property> @@ -124,6 +130,9 @@ <property name="receives-default">False</property> <property name="use-underline">True</property> <property name="draw-indicator">True</property> + <accessibility> + <relation type="labelled-by" target="lbHeader"/> + </accessibility> </object> <packing> <property name="left-attach">1</property> @@ -136,6 +145,9 @@ <property name="can-focus">False</property> <property name="label" translatable="yes" context="sortcriteriapage|lbHeader">Headers:</property> <property name="xalign">1</property> + <accessibility> + <relation type="label-for" target="cbHeader"/> + </accessibility> </object> <packing> <property name="left-attach">0</property> diff --git a/sc/uiconfig/scalc/ui/sortkey.ui b/sc/uiconfig/scalc/ui/sortkey.ui index 62b7813bc2db..781c846ae82f 100644 --- a/sc/uiconfig/scalc/ui/sortkey.ui +++ b/sc/uiconfig/scalc/ui/sortkey.ui @@ -29,6 +29,9 @@ <property name="AtkObject::accessible-description" translatable="yes" context="sortkey|extended_tip|sortlb">Select the column that you want to use as the primary sort key.</property> </object> </child> + <accessibility> + <relation type="labelled-by" target="lbColRow"/> + </accessibility> </object> <packing> <property name="left-attach">1</property> @@ -82,6 +85,9 @@ <property name="can-focus">False</property> <property name="label">Column/Row:</property> <property name="xalign">1</property> + <accessibility> + <relation type="label-for" target="sortlb"/> + </accessibility> </object> <packing> <property name="left-attach">0</property> diff --git a/sc/uiconfig/scalc/ui/sortoptionspage.ui b/sc/uiconfig/scalc/ui/sortoptionspage.ui index 89e0be9500cc..f807dbcb082b 100644 --- a/sc/uiconfig/scalc/ui/sortoptionspage.ui +++ b/sc/uiconfig/scalc/ui/sortoptionspage.ui @@ -238,6 +238,9 @@ <property name="halign">start</property> <property name="label" translatable="yes" context="sortoptionspage|label6">Language</property> <property name="use-underline">True</property> + <accessibility> + <relation type="label-for" target="language"/> + </accessibility> </object> <packing> <property name="left-attach">0</property> @@ -251,6 +254,9 @@ <property name="halign">start</property> <property name="label" translatable="yes" context="sortoptionspage|algorithmft">Options</property> <property name="use-underline">True</property> + <accessibility> + <relation type="label-for" target="algorithmlb"/> + </accessibility> </object> <packing> <property name="left-attach">1</property> @@ -272,6 +278,9 @@ <property name="AtkObject::accessible-description" translatable="yes" context="sortoptionspage|extended_tip|language">Select the language for the sorting rules.</property> </object> </child> + <accessibility> + <relation type="labelled-by" target="label6"/> + </accessibility> </object> <packing> <property name="left-attach">0</property> @@ -288,6 +297,9 @@ <property name="AtkObject::accessible-description" translatable="yes" context="sortoptionspage|extended_tip|algorithmlb">Select a sorting option for the language.</property> </object> </child> + <accessibility> + <relation type="labelled-by" target="algorithmft"/> + </accessibility> </object> <packing> <property name="left-attach">1</property> diff --git a/solenv/sanitizers/ui/modules/scalc.suppr b/solenv/sanitizers/ui/modules/scalc.suppr index 07e2972554a1..8e0acbdf8290 100644 --- a/solenv/sanitizers/ui/modules/scalc.suppr +++ b/solenv/sanitizers/ui/modules/scalc.suppr @@ -157,3 +157,6 @@ sc/uiconfig/scalc/ui/xmlsourcedialog.ui://GtkLabel[@id='label5'] orphan-label sc/uiconfig/scalc/ui/xmlsourcedialog.ui://GtkEntry[@id='edit'] no-labelled-by sc/uiconfig/scalc/ui/sparklinedialog.ui://GtkSpinButton[@id='seMinAxis'] no-labelled-by sc/uiconfig/scalc/ui/sparklinedialog.ui://GtkSpinButton[@id='seMaxAxis'] no-labelled-by +sc/uiconfig/scalc/ui/passfragment.ui://GtkLabel[@id='name'] orphan-label +sc/uiconfig/scalc/ui/passfragment.ui://GtkLabel[@id='status'] orphan-label +sc/uiconfig/scalc/ui/headerfootercontent.ui://GtkComboBoxText[@id='comboLB_DEFINED'] duplicate-mnemonic |