mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59094
[Bug 1887982] Re: Swap placeholder text for placeholder attribute
Hi Russell,
The block has the value 'Placeholder' because students and staff are
expected to change that when they put a block onto a page. When there is
no value, the block doesn't have a title, which changes the behaviour of
the block and there is not heading for the block or a default heading,
e.g. from a journal entry is used.
This is more of a usability issue that can be resolved by asking
students to always have a proper title for a block or consciously remove
the 'Placeholder' value to not have a title at all for styling purposes.
Thank you
Kristina
** Changed in: mahara
Status: New => Won't Fix
--
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:
Won't Fix
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