refs #31224. Fix for touch-enabled devices, and enriched the test with other types of input and textarea. !strict