Enhance accessor for alt attribute of input node: Return empty string if attribute is absent and the input type is not image.