Fix #49: Add function for alt attribute of input node

This fixes issue #49.