Commit 1f1d5e86 authored by Mike Greiling's avatar Mike Greiling

Update accessibility for reply placeholder

parent ff0822ae
...@@ -257,7 +257,7 @@ export default { ...@@ -257,7 +257,7 @@ export default {
<reply-placeholder <reply-placeholder
v-if="!isFormVisible" v-if="!isFormVisible"
class="qa-discussion-reply" class="qa-discussion-reply"
:placeholder-text="__('Reply...')" :placeholder-text="__('Reply')"
@focus="showForm" @focus="showForm"
/> />
<apollo-mutation <apollo-mutation
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
<div class="discussion-with-resolve-btn clearfix"> <div class="discussion-with-resolve-btn clearfix">
<reply-placeholder <reply-placeholder
data-qa-selector="discussion_reply_tab" data-qa-selector="discussion_reply_tab"
:placeholder-text="s__('MergeRequests|Reply...')" :placeholder-text="__('Reply…')"
@focus="$emit('showReplyForm')" @focus="$emit('showReplyForm')"
/> />
......
...@@ -15,7 +15,8 @@ export default { ...@@ -15,7 +15,8 @@ export default {
rows="1" rows="1"
class="reply-placeholder-text-field js-vue-discussion-reply" class="reply-placeholder-text-field js-vue-discussion-reply"
:placeholder="placeholderText" :placeholder="placeholderText"
:title="s__('MergeRequests|Add a reply')" :title="__('Reply to comment')"
:aria-label="__('Reply to comment')"
@focus="$emit('focus')" @focus="$emit('focus')"
></textarea> ></textarea>
</template> </template>
...@@ -345,7 +345,7 @@ export default { ...@@ -345,7 +345,7 @@ export default {
class="note-textarea js-gfm-input js-note-text js-autosize markdown-area js-vue-issue-note-form" class="note-textarea js-gfm-input js-note-text js-autosize markdown-area js-vue-issue-note-form"
data-qa-selector="reply_field" data-qa-selector="reply_field"
dir="auto" dir="auto"
:aria-label="__('Description')" :aria-label="__('Reply to comment')"
:placeholder="__('Write a comment or drag your files here…')" :placeholder="__('Write a comment or drag your files here…')"
@keydown.meta.enter="handleKeySubmit()" @keydown.meta.enter="handleKeySubmit()"
@keydown.ctrl.enter="handleKeySubmit()" @keydown.ctrl.enter="handleKeySubmit()"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment