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

This commit is contained in:
Kris 2020-09-22 17:26:03 -04:00 committed by GitHub
parent 614e0bab57
commit cba3d3782d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -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|}}

View File

@ -7,7 +7,7 @@
</div>
<div>
<input type="text">
<input type="text" aria-label={{i18n "share.url"}}>
</div>
<div class="actions">

View File

@ -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}"