sw/uiconfig/swriter/ui/wordcount.ui |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit 9e3da252c361b3e2b04a2df7a3ae2a5177b37713
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Oct 6 09:58:51 2023 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Sat Oct 7 00:26:38 2023 +0200

    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.wegh...@posteo.de>

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>

Reply via email to