cui/uiconfig/ui/cuiimapdlg.ui |    6 ++++--
 svx/uiconfig/ui/imapdialog.ui |    5 +++--
 2 files changed, 7 insertions(+), 4 deletions(-)

New commits:
commit 3a78fb5d750ae462bf62d4568ad3a504a6db17a7
Author:     Seth Chaiklin <[email protected]>
AuthorDate: Tue May 31 01:01:40 2022 +0200
Commit:     Seth Chaiklin <[email protected]>
CommitDate: Sat Jun 4 15:58:30 2022 +0200

    tdf#148491 make Imagemap dialog consistent with Description
    
      This patch is part of a general effort to use
      "Text Alternative" consistently in the UI.
    
      The control names in the Description dialog for
      Imagemap and the Imagemap dialog were both changed
      to "Text Alternative". Tooltips were also added
      for "Text Alternative" and "Description."
    
      No change was made to the extended tooltip for
      "Description", because this field is not exported
      to HTML at present (tdf#149013)
    
    Change-Id: I2c5931efec93cff6b1ff1bf905de770d939b9b93
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135155
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <[email protected]>

diff --git a/cui/uiconfig/ui/cuiimapdlg.ui b/cui/uiconfig/ui/cuiimapdlg.ui
index 594e66fc7667..5618564cb5c3 100644
--- a/cui/uiconfig/ui/cuiimapdlg.ui
+++ b/cui/uiconfig/ui/cuiimapdlg.ui
@@ -242,7 +242,8 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="hexpand">True</property>
-                    <property name="label" translatable="yes" 
context="cuiimapdlg|label4">Alternative _text:</property>
+                    <property name="label" translatable="yes" 
context="cuiimapdlg|label4">_Text Alternative:</property>
+                    <property name="tooltip_text" translatable="yes" 
context="cuiimapdlg|label4">Enter a short description of essential features of 
the image map for persons who do not see the image.</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">textentry</property>
                     <property name="xalign">0</property>
@@ -262,7 +263,7 @@
                     <property name="truncate-multiline">True</property>
                     <child internal-child="accessible">
                       <object class="AtkObject" id="textentry-atkobject">
-                        <property name="AtkObject::accessible-description" 
translatable="yes" context="cuiimapdlg|extended_tip|textentry">Enter the text 
that you want to display when the mouse rests on the hotspot in a 
browser.</property>
+                        <property name="AtkObject::accessible-description" 
translatable="yes" context="cuiimapdlg|extended_tip|textentry">Enter the text 
that you want to display when the mouse rests on the hotspot in a browser. This 
text can also be used by assistive technologies.</property>
                       </object>
                     </child>
                   </object>
@@ -291,6 +292,7 @@
                     <property name="can_focus">False</property>
                     <property name="hexpand">True</property>
                     <property name="label" translatable="yes" 
context="cuiimapdlg|label5">_Description:</property>
+                    <property name="tooltip_text" translatable="yes" 
context="cuiimapdlg|label5">Give a longer explanation of the image map if it is 
too complex to be described briefly in “Text Alternative.”</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">descTV</property>
                     <property name="xalign">0</property>
diff --git a/svx/uiconfig/ui/imapdialog.ui b/svx/uiconfig/ui/imapdialog.ui
index 8de9fced749c..faea4d096736 100644
--- a/svx/uiconfig/ui/imapdialog.ui
+++ b/svx/uiconfig/ui/imapdialog.ui
@@ -492,7 +492,7 @@
                         <property name="truncate-multiline">True</property>
                         <child internal-child="accessible">
                           <object class="AtkObject" id="text-atkobject">
-                            <property name="AtkObject::accessible-description" 
translatable="yes" context="imapdialog|extended_tip|text">Enter the text that 
you want to display when the mouse rests on the hotspot in a browser.</property>
+                            <property name="AtkObject::accessible-description" 
translatable="yes" context="imapdialog|extended_tip|text">Enter the text that 
you want to display when the mouse rests on the hotspot in a browser. This text 
is also used by assistive technologies</property>
                           </object>
                         </child>
                       </object>
@@ -530,7 +530,8 @@
                     <property name="visible">True</property>
                     <property name="can-focus">False</property>
                     <property name="halign">start</property>
-                    <property name="label" translatable="yes" 
context="imapdialog|textft">Text:</property>
+                    <property name="label" translatable="yes" 
context="imapdialog|textft">_Text Alternative:</property>
+                    <property name="tooltip_text" translatable="yes" 
context="imapdialog|textft">Enter a short description of essential features of 
the image map for persons who do not see the image.</property>
                     <property name="use-underline">True</property>
                     <property name="mnemonic-widget">text</property>
                   </object>

Reply via email to