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

New commits:
commit 0ac6dc3568a40799200fe368bbad781f284f40e1
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Oct 6 12:48:40 2023 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Mon Oct 9 09:31:25 2023 +0200

    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.hal...@libreoffice.org>
    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 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>

Reply via email to