Customize the [data-validate-for]

I’d need to add some additional html markup inside this [data-validate-for] to add a title and an icon.
Is there a way to do that by any chance ?

Yes, you should be able to just add the title and icon to the element. The validate-for attribute doesn’t limit this… unless I’m missing something?