mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:17:08 +08:00
A11Y: Add labels where needed (#13686)
This commit is contained in:
parent
a2425487b2
commit
1fb48fc9a6
|
@ -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">
|
||||
|
|
|
@ -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"}}>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
margin-left: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
background: transparent;
|
||||
padding-right: 6px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.bookmark-options-panel {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user