cui/uiconfig/ui/objecttitledescdialog.ui                             |    4 
+++-
 officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu |    6 
++++++
 sw/uiconfig/swriter/ui/frmaddpage.ui                                 |    4 
++--
 3 files changed, 11 insertions(+), 3 deletions(-)

New commits:
commit 8afd0dcbe23846c12c830b2637db7993a0aa5942
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Tue May 10 00:14:08 2022 +0100
Commit:     Seth Chaiklin <sdc.bla...@youmail.dk>
CommitDate: Thu May 12 12:48:55 2022 +0200

    tdf#148941 consistency between popup box and option dialog for objects
    
     cui/uiconfig/ui/objecttitledescdialog.ui
       * change "Title" to "Text Alternative" to use the terminology from
         Web Content Accessibility Guidelines (WCAG) 2.1
         https://www.w3.org/TR/WCAG21/#dfn-text-alternative
         which is also consistent with the purpose of this option in LO
       + add tooltips to "Text Alternative" and "Description" in
         Description popup box. The idea is that the tooltips will
         help to understand the purpose of dialog.
    
     sw/uiconfig/swriter/ui/frmaddpage.ui
       * _Alternative (Text only) -> "Text _Alternative"
         [This change matches the change in the popup box]
       + add missing : to "vertical alignment", according to HIG
    
     officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
       + add tooltips for the "Name" and "Description" .unos, primarily
         for the customize dialog, and icons in notebookbars.
    
    Change-Id: I1943b49e13763371823bfcf2cfc8652c907de110
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134066
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk>

diff --git a/cui/uiconfig/ui/objecttitledescdialog.ui 
b/cui/uiconfig/ui/objecttitledescdialog.ui
index dbb6d72af080..bcd20675829e 100644
--- a/cui/uiconfig/ui/objecttitledescdialog.ui
+++ b/cui/uiconfig/ui/objecttitledescdialog.ui
@@ -89,8 +89,9 @@
               <object class="GtkLabel" id="object_title_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes" 
context="objecttitledescdialog|object_title_label">_Title:</property>
+                <property name="label" translatable="yes" 
context="objecttitledescdialog|object_title_label">_Text Alternative:</property>
                 <property name="use_underline">True</property>
+                <property name="tooltip_text" translatable="yes" 
context="objecttitledescdialog|object_title_label|tooltip_text">Give a short 
description of non-text content for users who do not see this object.</property>
                 <property name="mnemonic_widget">object_title_entry</property>
                 <property name="xalign">0</property>
               </object>
@@ -125,6 +126,7 @@
                 <property name="can_focus">False</property>
                 <property name="label" translatable="yes" 
context="objecttitledescdialog|desc_label">_Description:</property>
                 <property name="use_underline">True</property>
+                <property name="tooltip_text" translatable="yes" 
context="objecttitledescdialog|desc_label|tooltip_text">Give longer explanation 
of non-text content that is too complex to be described briefly in “Text 
Alternative”</property>
                 <property name="xalign">0</property>
               </object>
               <packing>
diff --git 
a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index ac7908d4fef6..8effe967b2f4 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -7208,6 +7208,9 @@ bit 3 (0x8): #define 
UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8
         <prop oor:name="Label" oor:type="xs:string">
           <value xml:lang="en-US">Name...</value>
         </prop>
+        <prop oor:name="TooltipLabel" oor:type="xs:string">
+          <value xml:lang="en-US">Give a label to identify an object</value>
+        </prop>
         <prop oor:name="Properties" oor:type="xs:int">
           <value>1</value>
         </prop>
@@ -7216,6 +7219,9 @@ bit 3 (0x8): #define 
UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8
         <prop oor:name="Label" oor:type="xs:string">
           <value xml:lang="en-US">Description...</value>
         </prop>
+        <prop oor:name="TooltipLabel" oor:type="xs:string">
+          <value xml:lang="en-US">Add descriptions of non-text content (for 
accessibility)</value>
+        </prop>
         <prop oor:name="Properties" oor:type="xs:int">
           <value>1</value>
         </prop>
diff --git a/sw/uiconfig/swriter/ui/frmaddpage.ui 
b/sw/uiconfig/swriter/ui/frmaddpage.ui
index e92baba25750..33870a33bcd4 100644
--- a/sw/uiconfig/swriter/ui/frmaddpage.ui
+++ b/sw/uiconfig/swriter/ui/frmaddpage.ui
@@ -92,7 +92,7 @@
               <object class="GtkLabel" id="altname_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes" 
context="frmaddpage|altname_label">_Alternative (Text only):</property>
+                <property name="label" translatable="yes" 
context="frmaddpage|altname_label">Text _Alternative:</property>
                 <property name="use_underline">True</property>
                 <property name="mnemonic_widget">altname</property>
                 <property name="xalign">0</property>
@@ -331,7 +331,7 @@
               <object class="GtkLabel" id="label2">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes" 
context="frmaddpage|label2">_Vertical alignment</property>
+                <property name="label" translatable="yes" 
context="frmaddpage|label2">_Vertical alignment:</property>
                 <property name="use_underline">True</property>
               </object>
               <packing>

Reply via email to