<div dir="ltr">On Fri, Oct 3, 2008 at 10:37 AM, Garrett Smith <span dir="ltr"><<a href="mailto:dhtmlkitchen@gmail.com">dhtmlkitchen@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, Oct 3, 2008 at 8:05 AM, Tab Atkins Jr. <<a href="mailto:jackalmage@gmail.com">jackalmage@gmail.com</a>> wrote:<br>
> On Fri, Oct 3, 2008 at 9:32 AM, Garrett Smith <<a href="mailto:dhtmlkitchen@gmail.com">dhtmlkitchen@gmail.com</a>><br>
> wrote:<br>
>><br>
>> On Thu, Oct 2, 2008 at 4:34 PM, Tab Atkins Jr. <<a href="mailto:jackalmage@gmail.com">jackalmage@gmail.com</a>><br>
>> wrote:<br>
>> > On Thu, Oct 2, 2008 at 6:27 PM, Brenton Strine<br>
>> > <<a href="mailto:Brenton.Strine@citrix.com">Brenton.Strine@citrix.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> On Tue, Sep 30, 2008 at 11:36 AM, Andy Lyttle <<a href="mailto:whatwg@phroggy.com">whatwg@phroggy.com</a>><br>
>> >> wrote:<br>
>><br>
<br>
<br>
</div><div class="Ih2E3d">>> > iota.  This leans me even more toward a CSS solution.  I'll just bite<br>
>> > the<br>
>> > bullet and bring it up to the CSS WG.<br>
>> ><br>
>><br>
>> Are you proposing that placeholder could be a positioned object, such<br>
>> as an image?<br>
><br>
> Not entirely sure what you're suggesting here, but maybe?<br>
<br>
</div>I feel the same way about what you wrote. (?)</blockquote><div><br>Then I'll expand.  I guess you're late to the thread?  Not that it's a problem, I just assumed that you'd seen the mail I sent earlier.<br>
 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
> My suggestion was<br>
> put forward up above - I would prefer if the placeholder text was replaced<br>
> content.  You set a CSS rule (haven't decided the best way to handle this<br>
> yet) that suppresses the display of a label and instead uses the textual<br>
> content of the label as a placeholder.<br>
><br>
<br>
</div><br>A <label> element?</blockquote><div><br>Yes.  My idea is based on the fact that on every current use of placeholder-like functionality I've ever seen, the placeholder text was semantically a label, and was in fact used in place of a label.  The majority of suggestions put forth in this thread have the same property - the text that they're packing into @placeholder is semantically a <label>, and should actually be put there - it's merely a desire to change the display of the label that moves them to put it into @placeholder.<br>
<br>Thus, this seems rather straightforwardly a CSS issue.  You code up an ordinary, semantic form with <label> and such, then some CSS rule takes over and suppresses the appearance of the <label>, but displays the textual content of the <label> within the <input> (or <textarea>).<br>
<br>Some searching finally let me find the article where I found this technique put into practice with Javascript.  Jeremy Boles produced the example that I first saw, but he appears to have taken down his blog.  However, A List Apart Issue #229 covered it as well, and they still have a working page. [1]  My idea is that this should be doable through CSS rather than only through Javascript at current.  <br>
<br>[1]: <a href="http://alistapart.com/articles/makingcompactformsmoreaccessible">http://alistapart.com/articles/makingcompactformsmoreaccessible</a><br><br></div></div>~TJ<br></div>