|
|
|
|
|
by DaiPlusPlus
2199 days ago
|
|
It's somewhat ironic (moronic?) that Apple was the first to add support for `<input type="date" />` in Mobile Safari for the iPhone almost a decade ago - so it's a complete mystery why macOS Safari doesn't have this feature. Here's the official WebKit Bugzilla ticket for `<input type="date" />`: https://bugs.webkit.org/show_bug.cgi?id=119175 Here's Apple's Radar entry: rdar://problem/14567780 (I don't have access to Radar - can someone who does please let us know what the latest update is?) Right now we use a quick-and-dirty date polyfill for macOS Safari - though more recently our GA stats show that 90% of our macOS users are using Chrome anyway which supports date inputs natively so for our lesser-used pages and areas I might forget to add the polyfill and we won't hear any complaints. |
|
It's kinda mean to do that though - if that is the case then they're deliberately holding back the web, increasing web-development time, and worsening accessibility (so many inaccessible JavaScript date-picker components!) just so that they can avoid "looking bad".