A11Y: Add label to share link input (#10717)

A11Y: Add label to share link input (#10717)

diff --git a/app/assets/javascripts/discourse/app/templates/components/share-panel.hbs b/app/assets/javascripts/discourse/app/templates/components/share-panel.hbs
index 1f33acb..c309de1 100644
--- a/app/assets/javascripts/discourse/app/templates/components/share-panel.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/share-panel.hbs
@@ -3,7 +3,7 @@
 </div>
 
 <div class="body">
-  {{textarea value=shareUrl class="topic-share-url"}}
+  {{d-textarea value=shareUrl class="topic-share-url" aria-label=(I18n "share.url")}}
 
   <div class="sources">
     {{#each sources as |source|}}
diff --git a/app/assets/javascripts/discourse/app/templates/components/share-popup.hbs b/app/assets/javascripts/discourse/app/templates/components/share-popup.hbs
index 4a40880..548f71e 100644
--- a/app/assets/javascripts/discourse/app/templates/components/share-popup.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/share-popup.hbs
@@ -7,7 +7,7 @@
 </div>
 
 <div>
-  <input type="text">
+  <input type="text" aria-label={{i18n "share.url"}}>
 </div>
 
 <div class="actions">
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index f231b9e..2c6be84 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -138,6 +138,7 @@ en:
       twitter: "Share on Twitter"
       facebook: "Share on Facebook"
       email: "Send via email"
+      url: "Copy and share URL"
 
     action_codes:
       public_topic: "made this topic public %{when}"

GitHub sha: cba3d378

This commit appears in #10717 which was approved by eviltrout. It was merged by awesomerobot.