diff options
author | Valentin Villenave <[email protected]> | 2021-10-07 11:23:31 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-10-26 16:00:45 +0200 |
commit | ce42d0f616999ef85a41b09024663ca9e5d2d18a (patch) | |
tree | ef42c9c0956e7324c612bf2bf1db611c32a7bfde | |
parent | b58d5a379f2dfe8f31b97f8601ce8d311538e6ff (diff) | |
download | mate-applets-ce42d0f616999ef85a41b09024663ca9e5d2d18a.tar.bz2 mate-applets-ce42d0f616999ef85a41b09024663ca9e5d2d18a.tar.xz |
Mate Sticky notes applet: make dialogs accessible.
This enables better keyboard navigation and labelling,
for screen readers such as Orca.
-rw-r--r-- | stickynotes/sticky-notes-preferences.ui | 7 | ||||
-rw-r--r-- | stickynotes/sticky-notes-properties.ui | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/stickynotes/sticky-notes-preferences.ui b/stickynotes/sticky-notes-preferences.ui index dcb5731f..25ebfe33 100644 --- a/stickynotes/sticky-notes-preferences.ui +++ b/stickynotes/sticky-notes-preferences.ui @@ -130,6 +130,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">_Width:</property> <property name="use_underline">True</property> + <property name="mnemonic-widget">width_spin</property> <property name="xalign">0</property> </object> <packing> @@ -143,6 +144,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">H_eight:</property> <property name="use_underline">True</property> + <property name="mnemonic-widget">height_spin</property> <property name="xalign">0</property> </object> <packing> @@ -202,6 +204,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">Font Co_lor:</property> <property name="use_underline">True</property> + <property name="mnemonic-widget">prefs_font_color</property> <property name="xalign">0</property> </object> <packing> @@ -215,6 +218,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">Note C_olor:</property> <property name="use_underline">True</property> + <property name="mnemonic-widget">default_color</property> <property name="xalign">0</property> </object> <packing> @@ -227,6 +231,8 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Choose a font color to use for all sticky notes</property> + <property name="title" translatable="yes">Pick a default font color</property> </object> <packing> <property name="left_attach">1</property> @@ -268,6 +274,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">_Font:</property> <property name="use_underline">True</property> + <property name="mnemonic-widget">default_font</property> <property name="xalign">0</property> </object> <packing> diff --git a/stickynotes/sticky-notes-properties.ui b/stickynotes/sticky-notes-properties.ui index 3602821b..91e68438 100644 --- a/stickynotes/sticky-notes-properties.ui +++ b/stickynotes/sticky-notes-properties.ui @@ -116,6 +116,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">_Title:</property> <property name="use_underline">True</property> + <property name="mnemonic-widget">title_entry</property> <property name="xalign">0</property> </object> <packing> @@ -157,6 +158,7 @@ <property name="margin_left">12</property> <property name="label" translatable="yes">Font C_olor:</property> <property name="use_underline">True</property> + <property name="mnemonic-widget">color_label</property> <property name="xalign">0</property> </object> <packing> @@ -199,6 +201,8 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Choose a font color for the note</property> + <property name="title" translatable="yes">Pick a font color for the sticky note</property> </object> <packing> <property name="left_attach">1</property> @@ -225,6 +229,7 @@ <property name="margin_left">12</property> <property name="label" translatable="yes">_Font:</property> <property name="use_underline">True</property> + <property name="mnemonic-widget">note_font</property> <property name="xalign">0</property> </object> <packing> |