a11y: Set a11y name for "Font Name" combobox

With this in place, the Orca screen reader announces the
"Font Name" combobox in the Writer formatting toolbar as such
with qt6 VCL plugin on Linux, instead of just
the current value without context.

Change-Id: Idac70ea207a9c5e42836232d11654adf2057e5d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172658
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Michael Weghorn 2024-08-30 15:50:14 +02:00
parent f6facfa6d0
commit 52ca766e81

View file

@ -20,6 +20,11 @@
<property name="truncate-multiline">True</property> <property name="truncate-multiline">True</property>
</object> </object>
</child> </child>
<child internal-child="accessible">
<object class="AtkObject" id="fontnamecombobox-atkobject">
<property name="AtkObject::accessible-name" translatable="yes" context="fontnamebox|fontnamecombobox|accessible_name">Font Name</property>
</object>
</child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>