Allow data-title attribute for setting caption.