vcl/uiconfig/ui/printdialog.ui | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e2272d311c8a7f2ac6eb8df3e222dec12d83b248
Author: Michael Weghorn <[email protected]>
AuthorDate: Fri Jul 18 15:24:14 2025 +0200
Commit: Adolfo Jayme Barrientos <[email protected]>
CommitDate: Sat Jul 19 14:54:10 2025 +0200
a11y: Set mnemonic widgets in print dialog
This ensures that the corresponding a11y relation
is set and e.g. the Orca screen reader announces
the associated label when the "Number of copies"
spin button or the "Include" combobox (for even/odd pages)
receive focus.
Change-Id: Id2399c87cf934d16addabd34ebf503baaf21121f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188039
Reviewed-by: Michael Weghorn <[email protected]>
Tested-by: Jenkins
(cherry picked from commit b59d61f9091116b0a63232f264e52f601cf279fb)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188048
Reviewed-by: Adolfo Jayme Barrientos <[email protected]>
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui
index 6f0aa80d05fd..ec3e5e55ce37 100644
--- a/vcl/uiconfig/ui/printdialog.ui
+++ b/vcl/uiconfig/ui/printdialog.ui
@@ -615,6 +615,7 @@
<property
name="halign">start</property>
<property name="label"
translatable="yes" context="printdialog|labelcopies">_Number of
copies:</property>
<property
name="use-underline">True</property>
+ <property
name="mnemonic-widget">copycount</property>
<property
name="xalign">1</property>
</object>
<packing>
@@ -829,6 +830,7 @@
<property
name="halign">start</property>
<property name="label"
translatable="yes" context="printdialog|includeevenodd">Include:</property>
<property
name="use-underline">True</property>
+ <property
name="mnemonic-widget">evenoddbox</property>
<property
name="xalign">0</property>
</object>
<packing>