svx/uiconfig/ui/applystylebox.ui | 17 +++++++++++------ svx/uiconfig/ui/sidebarstylespanel.ui | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-)
New commits: commit a38d969d5b113aa6e10fc128d6607fbb438035ac Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Wed Aug 28 16:50:02 2024 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Thu Aug 29 09:32:20 2024 +0200 a11y: Set "Paragraph style" as a11y name for that combobox Set an accessible name of "Paragraph" style for the combobox where the paragraph style can be set. The one used in Writer's formatting toolbar didn't have any a11y name set, resulting e.g. in the Orca screen reader not announcing what this combobox is for with either the gtk3 or qt6 VCL plugin. The one used in Writer's "Properties" sidebar was using an accessible name of "Font style", which is less precise than "Paragraph style", so use the latter consistently. Change-Id: I357e11347118dbf0db39084ae58c2d188d8aa235 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172542 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins diff --git a/svx/uiconfig/ui/applystylebox.ui b/svx/uiconfig/ui/applystylebox.ui index 543b45af056d..6ae0db4f2d0f 100644 --- a/svx/uiconfig/ui/applystylebox.ui +++ b/svx/uiconfig/ui/applystylebox.ui @@ -20,6 +20,11 @@ <property name="truncate-multiline">True</property> </object> </child> + <child internal-child="accessible"> + <object class="AtkObject" id="applystyle-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" context="applystylebox|applystyle|accessible_name">Paragraph style</property> + </object> + </child> </object> <packing> <property name="expand">False</property> diff --git a/svx/uiconfig/ui/sidebarstylespanel.ui b/svx/uiconfig/ui/sidebarstylespanel.ui index 4204801d024a..00015eb3f496 100644 --- a/svx/uiconfig/ui/sidebarstylespanel.ui +++ b/svx/uiconfig/ui/sidebarstylespanel.ui @@ -43,7 +43,7 @@ </child> <child internal-child="accessible"> <object class="AtkObject" id="applystyle-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" context="fontstyletoolbox|applystyle">Font style</property> + <property name="AtkObject::accessible-name" translatable="yes" context="fontstyletoolbox|applystyle">Paragraph style</property> </object> </child> </object> commit 3624c588328179204448e66118f2363ba2a92b93 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Wed Aug 28 16:51:32 2024 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Thu Aug 29 09:32:12 2024 +0200 svx: Resave applystylebox.ui with glade 3.40 ... before doing any "actual changes". Change-Id: I3af9f5a94affb252724b922e5ab37ae18821baa1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172541 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins diff --git a/svx/uiconfig/ui/applystylebox.ui b/svx/uiconfig/ui/applystylebox.ui index 8a404740e0fa..543b45af056d 100644 --- a/svx/uiconfig/ui/applystylebox.ui +++ b/svx/uiconfig/ui/applystylebox.ui @@ -1,23 +1,23 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.2 --> +<!-- Generated with glade 3.40.0 --> <interface domain="svx"> <requires lib="gtk+" version="3.20"/> <object class="GtkBox" id="ApplyStyleBox"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="hexpand">True</property> <property name="spacing">6</property> <child> <object class="GtkComboBoxText" id="applystyle"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="hexpand">True</property> - <property name="has_entry">True</property> - <property name="popup_fixed_width">False</property> + <property name="has-entry">True</property> + <property name="popup-fixed-width">False</property> <child internal-child="entry"> <object class="GtkEntry"> + <property name="can-focus">True</property> <property name="truncate-multiline">True</property> - <property name="can_focus">True</property> </object> </child> </object>