Re: [REVIEW REQUESTED][ARIA] placeholder

Hi Joseph.

On 04/09/2015 11:48 AM, Joseph Scheuhammer wrote:
> Hi Joanie,
> 
>> 2. What changes to the proposed ARIA spec text need to be made before we
>>     are ready to officially add this attribute to ARIA 1.1?
> 
> The text looks good, but I have misgivings about the example, repeated
> here:
> 
> <span id="label">Search orders:</span>
> <div role="searchbox" aria-labelledby="label" aria-placeholder="Title,
> Department, Recipient...">Title, Department, Recipient...</div>
> 
> The aria-placeholder text is identical to the pre-filled value of the
> searchbox.  Yet, the preceding note warns about users confusing
> placeholder text with a pre-filled value.

Right.

And with the "I am not an author" disclaimer.... What would an author do
to make a searchbox without any user-entered value in it and expose the
placeholder text to assistive technologies?

Maybe we need two examples? For instance we could take yours:

> <span id="label">Birthday:</span>
> <div role="searchbox" aria-labelledby="label"
> aria-placeholder="MM-DD-YYYY">03-14-1879</div>

and clearly label it as the "after" (i.e. after the user has provided a
value). But wouldn't the before be done like:

<span id="label">Birthday:</span>
<div role="searchbox" aria-labelledby="label"
aria-placeholder="MM-DD-YYYY">MM-DD-YYYY</div>

?

--joanie

Received on Thursday, 9 April 2015 16:38:20 UTC