Closed cwmanning closed 8 years ago
Addresses #6
:+1: ! Couple minor questions, but this is great! Thanks!
After some discussion, it may make more sense to punt on this as an option entirely. Maybe move relevant info into the docs, something like HTML5 Date Inputs and Ca11y
.
Adds a
preferNative: true
default option and tests for nativeinput[type=date]
support before initializing Ca11y. Also updates the existing example and test HTML to use a date input instead of a text input.Google Chrome example with default options, where Ca11y is disabled:
Relevant links: http://caniuse.com/#feat=input-datetime https://github.com/Modernizr/Modernizr/blob/695fd5ef3cad5b867785d5cff471d52a49aa82a7/feature-detects/inputtypes.js