Pass title attribute, fixes #4276