summaryrefslogtreecommitdiff
path: root/sw/uiconfig
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-10-06 12:48:40 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2023-10-09 09:31:25 +0200
commit0ac6dc3568a40799200fe368bbad781f284f40e1 (patch)
treea0000d8b50021675973e147fa8b72c97e456fe9c /sw/uiconfig
parent9a02f4ed071f15908624fb1cafcf6dbb72b00a1b (diff)
tdf#157633 a11y: Drop a11y description in Word Count dialog
Drop the accessible description for the Word Count dialog since, as pointed out on the a11 mailing list [1], having that whole text read out each time by the screen reader isn't really the desired behavior. For dialogs, NVDA on Windows only reads the a11y description and not the dialog content if the a11y description is set (s. [2]). In case of this dialog, there's also no way to have the text read out by moving focus (there are only 2 buttons at the bottom of the dialog), but only by having the whole dialog read out by pressing a screenreader-specific keyboard shortcut, in which case NVDA would announce the description of the dialog again first of all, before announcing the actual content. There's a help button right in the dialog that can be used to get the same information easily, so drop the a11y description. This also implies that this text is no longer shown as tooltip on mouse hover when extended tips are enabled in the settings, since that feature makes use of the a11y description. [1] https://listarchives.libreoffice.org/global/accessibility/msg01055.html [2] https://github.com/nvaccess/nvda/blob/a380b6a76a0a29df32e57c1bd974b11a895ac0c8/source/NVDAObjects/behaviors.py#L151-L156 Change-Id: I9d4ceb20534fd87a8c1a3fa3ad5848bf0f4a0f29 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157638 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r--sw/uiconfig/swriter/ui/wordcount.ui5
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/uiconfig/swriter/ui/wordcount.ui b/sw/uiconfig/swriter/ui/wordcount.ui
index 71a08f9936c4..c42d8fbb30ad 100644
--- a/sw/uiconfig/swriter/ui/wordcount.ui
+++ b/sw/uiconfig/swriter/ui/wordcount.ui
@@ -354,11 +354,6 @@
<action-widget response="-7">close</action-widget>
<action-widget response="-11">help</action-widget>
</action-widgets>
- <child internal-child="accessible">
- <object class="AtkObject" id="WordCountDialog-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes" context="wordcount|extended_tip|WordCountDialog">Counts the words and characters, with or without spaces, in the current selection and in the whole document. The count is kept up to date as you type or change the selection.</property>
- </object>
- </child>
</object>
<object class="GtkSizeGroup" id="sizegroup1">
<property name="ignore-hidden">True</property>