Fix answer placeholder for long and short answer question

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2020-04-28 15:13:02 +02:00 committed by John Molakvoæ (skjnldsv)
parent f57a18cad4
commit e2f503e189
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF
3 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@
<div class="question__header"> <div class="question__header">
<input v-if="edit" <input v-if="edit"
:placeholder="t('forms', 'Enter a title for this question')" :placeholder="t('forms', 'Enter a title for this question')"
:aria-label="t('forms', 'The title of the question number {index}', {index})" :aria-label="t('forms', 'Title of question number {index}', {index})"
:value="text" :value="text"
class="question__header-title" class="question__header-title"
type="text" type="text"

View file

@ -31,7 +31,7 @@
<!-- TODO: properly choose max length --> <!-- TODO: properly choose max length -->
<textarea ref="textarea" <textarea ref="textarea"
:aria-label="t('forms', 'A long answer for the question “{text}”', { text })" :aria-label="t('forms', 'A long answer for the question “{text}”', { text })"
:placeholder="t('forms', 'Long answer text')" :placeholder="t('forms', 'People can enter a long answer')"
:required="true /* TODO: implement required option */" :required="true /* TODO: implement required option */"
:value="values[0]" :value="values[0]"
class="question__text" class="question__text"

View file

@ -31,7 +31,7 @@
<!-- TODO: properly choose max length --> <!-- TODO: properly choose max length -->
<input ref="input" <input ref="input"
:aria-label="t('forms', 'A short answer for the question “{text}”', { text })" :aria-label="t('forms', 'A short answer for the question “{text}”', { text })"
:placeholder="t('forms', 'Short answer text')" :placeholder="t('forms', 'People can enter a short answer')"
:required="true /* TODO: implement required option */" :required="true /* TODO: implement required option */"
:value="values[0]" :value="values[0]"
class="question__input" class="question__input"