Also support textareas when autofocusing input fields (see #5774)