mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59054
[Bug 1887982] Re: Swap placeholder text for placeholder attribute
** Attachment added: "Placeholder text (as is)"
https://bugs.launchpad.net/mahara/+bug/1887982/+attachment/5393588/+files/block-placeholdertext.png
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1887982
Title:
Swap placeholder text for placeholder attribute
Status in Mahara:
New
Bug description:
When adding a new block to a Mahara page, the user is prompted to
enter a 'block title'.
The word 'placeholder' is present as the value of the input box. This
leads some students to have many blocks with a title of 'placeholder'.
Here's an abbreviated fragment of the HTML...
<input type="text" class="form-control text autofocus" name="title" value="Placeholder">
Would it be better to have a blank 'value' and use the 'placeholder'
attribute instead? So the HTML fragment would be as follows...
<input type="text" class="form-control text autofocus" name="title"
value="" placeholder="Block title">
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1887982/+subscriptions
References