sw/uiconfig/swriter/ui/tocentriespage.ui | 60 ++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 8 deletions(-)
New commits: commit 7cc16c80d2bbb2450b7c2ac67046cada2c961d31 Author: Parth Raiyani <[email protected]> AuthorDate: Thu Nov 20 16:34:45 2025 +0530 Commit: Caolán McNamara <[email protected]> CommitDate: Thu Feb 26 00:33:21 2026 +0100 accessibility: enhance accessibility features in tocentriespage UI Signed-off-by: Parth Raiyani <[email protected]> Change-Id: Iabbfd1beb80ddd8abd295d7c75b780ee74410798 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194261 Reviewed-by: Szymon Kłos <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200252 Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sw/uiconfig/swriter/ui/tocentriespage.ui b/sw/uiconfig/swriter/ui/tocentriespage.ui index 9818b7e65a6a..852ec78dbab1 100644 --- a/sw/uiconfig/swriter/ui/tocentriespage.ui +++ b/sw/uiconfig/swriter/ui/tocentriespage.ui @@ -91,6 +91,9 @@ <property name="headers-clickable">False</property> <property name="search-column">0</property> <property name="show-expanders">False</property> + <accessibility> + <relation type="labelled-by" target="levelft"/> + </accessibility> <child internal-child="selection"> <object class="GtkTreeSelection" id="treeview-selection1"/> </child> @@ -109,14 +112,55 @@ </object> </child> <child type="label"> - <object class="GtkLabel" id="levelft"> + <object class="GtkBox" id="levelbox"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="tocentriespage|levelft">_Level</property> - <property name="use-underline">True</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> + <property name="orientation">vertical</property> + <child> + <object class="GtkLabel" id="levelft"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="tocentriespage|levelft">_Level</property> + <property name="use-underline">True</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <child internal-child="accessible"> + <object class="AtkObject" id="levelft-atkobject"> + <property name="AtkObject::accessible-role">static</property> + </object> + </child> + <accessibility> + <relation type="label-for" target="level"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="typeft"> + <property name="can-focus">False</property> + <property name="no-show-all">True</property> + <property name="label" translatable="yes" context="tocentriespage|typeft">_Type</property> + <property name="use-underline">True</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <child internal-child="accessible"> + <object class="AtkObject" id="typeft-atkobject"> + <property name="AtkObject::accessible-role">static</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> </child> </object> commit 8aa343df19e70d52d79f93eabb345b16d9533d55 Author: Parth Raiyani <[email protected]> AuthorDate: Tue Nov 25 11:42:31 2025 +0530 Commit: Caolán McNamara <[email protected]> CommitDate: Thu Feb 26 00:33:12 2026 +0100 Rename conflicting GtkLabel ID from 'label5' to 'characterstyleft' Change-Id: I2f0cdd3d668db455746196d783b28f91192eda38 Signed-off-by: Parth Raiyani <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194499 Reviewed-by: Szymon Kłos <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200250 Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sw/uiconfig/swriter/ui/tocentriespage.ui b/sw/uiconfig/swriter/ui/tocentriespage.ui index ffdda670deaf..9818b7e65a6a 100644 --- a/sw/uiconfig/swriter/ui/tocentriespage.ui +++ b/sw/uiconfig/swriter/ui/tocentriespage.ui @@ -220,10 +220,10 @@ <property name="row-spacing">6</property> <property name="column-spacing">12</property> <child> - <object class="GtkLabel" id="label5"> + <object class="GtkLabel" id="characterstyleft"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="tocentriespage|label5">Character style:</property> + <property name="label" translatable="yes" context="tocentriespage|characterstyleft">Character style:</property> <property name="use-underline">True</property> <property name="mnemonic-widget">charstyle</property> <property name="xalign">0</property>
