Re: native elements versus scripted

Sorry, I keep thinking of these after I hit send!

And if we assume built in accessibility in the control, and don't
provide alternative ARIA markup in the element, we could lose
accessibility if the HTML5 element isn't implemented yet.

Shelley


On Tue, Apr 6, 2010 at 12:27 PM, Shelley Powers <shelley.just@gmail.com> wrote:
> On additional correction to this addendum.
>
> The downside to this is that if the browser doesn't implement the
> control, that's how the field will be designed, which will most likely
> make it oddly different than other fields in the form.
>
> Shelley
>
>
> On Tue, Apr 6, 2010 at 12:24 PM, Shelley Powers <shelley.just@gmail.com> wrote:
>> I did want to add an addendum and clarification.
>>
>> Mike Taylor (http://twitter.com/miketaylr) pointed out to me on
>> Twitter[1] that we can use the CSS selectors to provide some overall
>> styling for the new elements, such as using the following:
>>
>> (css) [type=date] {font: bold 42px 'Hobo Std';color:orangered;}
>>          <input type="date">
>>
>> We can't style the individual components of the objects that open, but
>> we can "cast" a general setting on the overall element, which is
>> inherited by the opened control. I'm assuming this presentational
>> behavior will apply to the other browsers, too.
>>
>> Shelley
>>
>> [1] http://twitter.com/miketaylr/status/11708590365
>>
>

Received on Tuesday, 6 April 2010 17:29:04 UTC