cui/uiconfig/ui/qrcodegen.ui |   26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

New commits:
commit a27f9de5f738b245ef2534e6a3fb0e7d3393bc04
Author:     Gabor Kelemen <kelemen.gab...@nisz.hu>
AuthorDate: Fri Aug 7 22:03:18 2020 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Mon Sep 21 20:45:13 2020 +0200

    tdf#119931 fix a11y warnings in qrcodegen.ui
    
    Change-Id: I7cc6f8edf6ab8d0e1b2a8c6a39e6e7b5c9ada565
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100371
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/cui/uiconfig/ui/qrcodegen.ui b/cui/uiconfig/ui/qrcodegen.ui
index f33b74557182..a9ff084fae17 100644
--- a/cui/uiconfig/ui/qrcodegen.ui
+++ b/cui/uiconfig/ui/qrcodegen.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.2 -->
+<!-- Generated with glade 3.36.0 -->
 <interface domain="cui">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkAdjustment" id="border_value">
@@ -16,9 +16,6 @@
     <property name="default_width">0</property>
     <property name="default_height">0</property>
     <property name="type_hint">dialog</property>
-    <child type="titlebar">
-      <placeholder/>
-    </child>
     <child internal-child="vbox">
       <object class="GtkBox">
         <property name="can_focus">False</property>
@@ -171,6 +168,12 @@
                                 <property name="label" translatable="yes" 
context="qrcodegen|label_ecc" comments="Error Correction Level of QR 
code">Error Correction:</property>
                                 <property name="use_underline">True</property>
                                 <property name="xalign">0</property>
+                                <accessibility>
+                                  <relation type="label-for" 
target="button_low"/>
+                                  <relation type="label-for" 
target="button_medium"/>
+                                  <relation type="label-for" 
target="button_quartile"/>
+                                  <relation type="label-for" 
target="button_high"/>
+                                </accessibility>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -217,6 +220,9 @@
                                 <property name="xalign">0</property>
                                 <property name="active">True</property>
                                 <property name="draw_indicator">True</property>
+                                <accessibility>
+                                  <relation type="labelled-by" 
target="label_ecc"/>
+                                </accessibility>
                                 <child internal-child="accessible">
                                   <object class="AtkObject" 
id="button_low-atkobject">
                                     <property 
name="AtkObject::accessible-description" translatable="yes" 
context="button_low">7% of codewords can be restored.</property>
@@ -239,6 +245,9 @@
                                 <property name="active">True</property>
                                 <property name="draw_indicator">True</property>
                                 <property name="group">button_low</property>
+                                <accessibility>
+                                  <relation type="labelled-by" 
target="label_ecc"/>
+                                </accessibility>
                                 <child internal-child="accessible">
                                   <object class="AtkObject" 
id="button_medium-atkobject">
                                     <property 
name="AtkObject::accessible-description" translatable="yes" 
context="button_medium">15% of codewords can be restored.</property>
@@ -261,6 +270,9 @@
                                 <property name="active">True</property>
                                 <property name="draw_indicator">True</property>
                                 <property name="group">button_low</property>
+                                <accessibility>
+                                  <relation type="labelled-by" 
target="label_ecc"/>
+                                </accessibility>
                                 <child internal-child="accessible">
                                   <object class="AtkObject" 
id="button_quartile-atkobject">
                                     <property 
name="AtkObject::accessible-description" translatable="yes" 
context="button_quartile">25% of codewords can be restored.</property>
@@ -283,6 +295,9 @@
                                 <property name="active">True</property>
                                 <property name="draw_indicator">True</property>
                                 <property name="group">button_low</property>
+                                <accessibility>
+                                  <relation type="labelled-by" 
target="label_ecc"/>
+                                </accessibility>
                                 <child internal-child="accessible">
                                   <object class="AtkObject" 
id="button_high-atkobject">
                                     <property 
name="AtkObject::accessible-description" translatable="yes" 
context="button_high">30% of codewords can be restored.</property>
@@ -334,6 +349,9 @@
       <action-widget response="-5">ok</action-widget>
       <action-widget response="-11">help</action-widget>
     </action-widgets>
+    <child type="titlebar">
+      <placeholder/>
+    </child>
     <child internal-child="accessible">
       <object class="AtkObject" id="QrCodeGenDialog-atkobject">
         <property name="AtkObject::accessible-description" translatable="yes" 
context="qr code dialog title">Generate QR Code for any text or URL.</property>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to