Broadened the scope to any input, not just text and password types