Bug 1581482 - Fix missing aria label on the Subject field of the compose dialog. r=mkmelin
authorAlessandro Castellani <alessandro@thunderbird.net>
Fri, 27 Sep 2019 10:46:39 -0700
changeset 36982 a05365ba526684ad2e0b30cf2159b328fe7ca3ae
parent 36981 9ec6769e2139cf73fa6d9f1a7ae3320ed187f317
child 36983 6269e3283765d5db1a6bf16df3a7d2bfb3925fa8
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersmkmelin
bugs1581482
Bug 1581482 - Fix missing aria label on the Subject field of the compose dialog. r=mkmelin
mail/components/compose/content/messengercompose.xul
--- a/mail/components/compose/content/messengercompose.xul
+++ b/mail/components/compose/content/messengercompose.xul
@@ -2064,17 +2064,18 @@
             </hbox>
             <hbox flex="1" align="center" class="input-container">
               <html:input id="msgSubject"
                           type="text"
                           class="input-inline"
                           disableonsend="true"
                           spellcheck="true"
                           oninput="gContentChanged = true; SetComposeWindowTitle();"
-                          onkeypress="subjectKeyPress(event);"/>
+                          onkeypress="subjectKeyPress(event);"
+                          aria-labelledby="subjectLabel"/>
             </hbox>
           </hbox>
         </vbox>
         <splitter id="attachmentbucket-sizer"
                   collapsed="true"
                   collapse="after"
                   onmouseup="attachmentBucketSizerOnMouseUp();"/>
         <vbox id="attachments-box" collapsed="true" persist="width">