improve a11y for input widgets
only test modernizr, if corresponding feature is requested (fixes Issue #220)