Add missing title attribute in rendered HTML

The `data` attributes need special handling. The `title` attribute will get rendered automatically, right? Please correct me if I am wrong. Thanks!