diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-10-06 09:58:51 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2023-10-07 00:26:38 +0200 |
commit | 9e3da252c361b3e2b04a2df7a3ae2a5177b37713 (patch) | |
tree | 374357abb16f4fa7adf0565fe72125479a04eb6c /sw/uiconfig/swriter | |
parent | f8e16f26a037a71349dc1a197b5ace204acb123b (diff) |
tdf#157633 a11y: Don't duplicate dialog description for its buttons
This accessible description does not describe what the
buttons are for, but what the dialog does, and it was
previously set for the dialog and each of the two buttons
in the word count dialog in Writer ("Tools" -> "Word Count").
As a consequence, NVDA would read the description, both,
when the dialog opens (as the a11y description of the dialog)
and whenever moving focus between the buttons, e.g. using the
Tab key.
In addition, it would be read three times when reading out the
whole dialog (NVDA+B), once at the beginning (for the dialog),
and then when each button is announced.
Drop the accessible descriptions from the buttons.
Change-Id: I878f1ec14439f78e60a8b95024e9966bc821042e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157637
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'sw/uiconfig/swriter')
-rw-r--r-- | sw/uiconfig/swriter/ui/wordcount.ui | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sw/uiconfig/swriter/ui/wordcount.ui b/sw/uiconfig/swriter/ui/wordcount.ui index 91aebe9ac551..71a08f9936c4 100644 --- a/sw/uiconfig/swriter/ui/wordcount.ui +++ b/sw/uiconfig/swriter/ui/wordcount.ui @@ -29,11 +29,6 @@ <property name="has-default">True</property> <property name="receives-default">True</property> <property name="use-underline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="close-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="wordcount|extended_tip|close">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> <packing> <property name="expand">False</property> @@ -48,11 +43,6 @@ <property name="can-focus">True</property> <property name="receives-default">True</property> <property name="use-underline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="help-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="wordcount|extended_tip|help">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> <packing> <property name="expand">False</property> |