ElkArte Community

Elk Development => Theme development => Topic started by: Joshua Dickerson on January 27, 2014, 06:38:17 pm

Title: HTML5?
Post by: Joshua Dickerson on January 27, 2014, 06:38:17 pm
Are you supporting it or no?

Search should use input type="search"
Username on login should probably use the email type. Definitely on the email in account settings

type="url" for the website in profile
probably just change the birthdate to a date field (there are tons of jQuery extensions/helpers for this)
Title: Re: HTML5?
Post by: Spuds on January 27, 2014, 08:07:09 pm
Yes, the templates are html5 and we removed all (I hope) all depreciated html4 tags etc.

We have put to use some html5 specific things, but obviously we have a way to go  :D  ... thanks for the pointers below, I'm sure they will get added !
Title: Re: HTML5?
Post by: emanuele on January 28, 2014, 01:03:34 pm
One thing: when you use these new types, pay attentions to the results of the tests, SimpleTest doesn't know any "new" type, so a few weeks ago I had to "hack" the code in order to add... I think the email type, it may be necessary to do the same for other types as well. ;)
Title: Re: HTML5?
Post by: Spuds on January 28, 2014, 02:45:28 pm
Ah thanks for the heads up !

I think this will take care of the rest of them for now: https://github.com/elkarte/Elkarte/commit/2320ccf6c4ed736f4a882d892cfb97214d64788b