From 2c3779475299eeed6fd9836c03aa22e1b3a41e88 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 7 Mar 2022 21:04:24 +0000 Subject: remove some member-of a11y relations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Caolán McNamara --- solenv/sanitizers/ui/modules/scalc.suppr | 1 - solenv/sanitizers/ui/modules/swriter.suppr | 2 +- solenv/sanitizers/ui/svx.suppr | 5 +---- 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'solenv/sanitizers') diff --git a/solenv/sanitizers/ui/modules/scalc.suppr b/solenv/sanitizers/ui/modules/scalc.suppr index 9024bbf6bc80..445d4c530666 100644 --- a/solenv/sanitizers/ui/modules/scalc.suppr +++ b/solenv/sanitizers/ui/modules/scalc.suppr @@ -135,7 +135,6 @@ sc/uiconfig/scalc/ui/searchresults.ui://GtkLabel[@id='lbSearchResults'] orphan-l sc/uiconfig/scalc/ui/sharedocumentdlg.ui://GtkLabel[@id='warning'] orphan-label sc/uiconfig/scalc/ui/showchangesdialog.ui://GtkEntry[@id='range'] no-labelled-by sc/uiconfig/scalc/ui/solverdlg.ui://GtkLabel[@id='targetlabel'] orphan-label -sc/uiconfig/scalc/ui/solverdlg.ui://GtkLabel[@id='result'] orphan-label sc/uiconfig/scalc/ui/solverdlg.ui://GtkLabel[@id='changelabel'] orphan-label sc/uiconfig/scalc/ui/solverdlg.ui://GtkLabel[@id='cellreflabel'] orphan-label sc/uiconfig/scalc/ui/solverdlg.ui://GtkLabel[@id='oplabel'] orphan-label diff --git a/solenv/sanitizers/ui/modules/swriter.suppr b/solenv/sanitizers/ui/modules/swriter.suppr index 5e4d49011f74..c7ae2f09a613 100644 --- a/solenv/sanitizers/ui/modules/swriter.suppr +++ b/solenv/sanitizers/ui/modules/swriter.suppr @@ -44,7 +44,6 @@ sw/uiconfig/swriter/ui/fldvarpage.ui://GtkLabel[@id='label5'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label6'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label7'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label8'] orphan-label -sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='pos'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='offset'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label11'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label4'] orphan-label @@ -53,6 +52,7 @@ sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label15'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label16'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label17'] orphan-label sw/uiconfig/swriter/ui/footnotepage.ui://GtkLabel[@id='label18'] orphan-label +sw/uiconfig/swriter/ui/footnotepage.ui://GtkRadioButton[@id='pospagecb'] labelled-by-and-mnemonic sw/uiconfig/swriter/ui/frmaddpage.ui://GtkLabel[@id='label2'] orphan-label sw/uiconfig/swriter/ui/gotopagedialog.ui://GtkLabel[@id='page_count'] orphan-label sw/uiconfig/swriter/ui/hfmenubutton.ui://GtkMenuItem[@id='edit'] button-no-label diff --git a/solenv/sanitizers/ui/svx.suppr b/solenv/sanitizers/ui/svx.suppr index 47e7dbc7ef5d..62512a391ff9 100644 --- a/solenv/sanitizers/ui/svx.suppr +++ b/solenv/sanitizers/ui/svx.suppr @@ -33,9 +33,7 @@ svx/uiconfig/ui/findreplacedialog.ui://GtkLabel[@id='searchdesc'] orphan-label svx/uiconfig/ui/findreplacedialog.ui://GtkLabel[@id='entirecells'] orphan-label svx/uiconfig/ui/findreplacedialog.ui://GtkLabel[@id='replacedesc'] orphan-label svx/uiconfig/ui/findreplacedialog.ui://GtkLabel[@id='label7'] orphan-label -svx/uiconfig/ui/findreplacedialog.ui://GtkLabel[@id='searchinlabel'] orphan-label -svx/uiconfig/ui/findreplacedialog.ui://GtkComboBoxText[@id='calcsearchin'] no-labelled-by -svx/uiconfig/ui/findreplacedialog.ui://GtkLabel[@id='searchdir'] orphan-label +svx/uiconfig/ui/findreplacedialog.ui://GtkRadioButton[@id='rows'] labelled-by-and-mnemonic svx/uiconfig/ui/floatingcontour.ui://GtkLabel[@id='statuspos'] orphan-label svx/uiconfig/ui/floatingcontour.ui://GtkLabel[@id='statussize'] orphan-label svx/uiconfig/ui/findreplacedialog-mobile.ui://GtkLabel[@id='label4'] orphan-label @@ -46,7 +44,6 @@ svx/uiconfig/ui/findreplacedialog-mobile.ui://GtkLabel[@id='replacedesc'] orphan svx/uiconfig/ui/findreplacedialog-mobile.ui://GtkLabel[@id='label7'] orphan-label svx/uiconfig/ui/findreplacedialog-mobile.ui://GtkLabel[@id='searchinlabel'] orphan-label svx/uiconfig/ui/findreplacedialog-mobile.ui://GtkComboBoxText[@id='calcsearchin'] no-labelled-by -svx/uiconfig/ui/findreplacedialog-mobile.ui://GtkLabel[@id='searchdir'] orphan-label svx/uiconfig/ui/fontworkgallerydialog.ui://GtkLabel[@id='label1'] orphan-label svx/uiconfig/ui/grafctrlbox.ui://GtkSpinButton[@id='spinfield'] no-labelled-by svx/uiconfig/ui/headfootformatpage.ui://GtkLabel[@id='labelHeaderFormat'] orphan-label -- cgit