Add HTML5 fields to input_has_value

I'd prefer to just use the ```reduce``` operation inline here.