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">
<input v-if="edit"
: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"
class="question__header-title"
type="text"

View file

@ -31,7 +31,7 @@
<!-- TODO: properly choose max length -->
<textarea ref="textarea"
: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 */"
:value="values[0]"
class="question__text"

View file

@ -31,7 +31,7 @@
<!-- TODO: properly choose max length -->
<input ref="input"
: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 */"
:value="values[0]"
class="question__input"