A11Y: Add labels where needed (#13686)

This commit is contained in:
Jordan Vidrine 2021-07-14 01:19:21 -05:00 committed by GitHub
parent a2425487b2
commit 1fb48fc9a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@
<div class="control-group bookmark-name-wrap">
{{input id="bookmark-name" value=model.name name="bookmark-name" class="bookmark-name" enter=(action "saveAndClose") placeholder=(i18n "post.bookmarks.name_placeholder") maxlength="100"}}
{{d-button icon="cog" action=(action "toggleOptionsPanel") class="bookmark-options-button"}}
{{d-button icon="cog" action=(action "toggleOptionsPanel") class="bookmark-options-button" ariaLabel="post.bookmarks.options"}}
</div>
<div class="bookmark-options-panel">

View File

@ -45,8 +45,8 @@
{{plugin-outlet name="edit-topic" args=(hash model=model buffered=buffered)}}
<div class="edit-controls">
{{d-button action=(action "finishedEditingTopic") class="btn-primary submit-edit" icon="check"}}
{{d-button action=(action "cancelEditingTopic") class="btn-default cancel-edit" icon="times"}}
{{d-button action=(action "finishedEditingTopic") class="btn-primary submit-edit" icon="check" ariaLabel="composer.save_edit"}}
{{d-button action=(action "cancelEditingTopic") class="btn-default cancel-edit" icon="times" ariaLabel="composer.cancel"}}
{{#if canRemoveTopicFeaturedLink}}
<a href {{action "removeFeaturedLink"}} class="remove-featured-link" title={{i18n "composer.remove_featured_link"}}>

View File

@ -42,7 +42,7 @@
margin-left: 0.5em;
margin-bottom: 0.5em;
background: transparent;
padding-right: 6px;
padding: 6px;
}
.bookmark-options-panel {

View File

@ -3113,6 +3113,7 @@ en:
name: "Name"
name_placeholder: "What is this bookmark for?"
set_reminder: "Remind me"
options: "Options"
actions:
delete_bookmark:
name: "Delete bookmark"