News for hackers. Stuff that matters.
Re:Tasks That Can Be Done with Pure HTML and CSS by kakarot on Monday February 11, 2019 @08:47AM (#19134412)
Native elements work if your design spec is flexible and aims to look natural on every browser and platform. If you have a rigid design they aren't as useful.

Wouldn't be the end of the world if browsers actually exposed all of the relevant styling, but it does help to try and make flexible designs. HTML primitives make it a lot easier to reach accessibility spec.

The date input in particular really is a mess though, every platform does it differently and phones have all sorts of weird widgets attached to it.

Re:Tasks That Can Be Done with Pure HTML and CSS by tracker1 on Monday February 11, 2019 @02:19PM (#19137397)
Date input is a mixed bag... it sucks all browsers/platforms do it weird and in incompatible ways... on the flip side, I don't like interrupting the "expected" platform behavior in terms of accessibility users.