Using HTML5 data-* attributes in Vaadin?

Does Vaadin support adding global data attributes as described here?
https://www.w3schools.com/tags/att_global_data.asp

Example:

<ul>
	<li data-type="fruit">Apple</li>
	<li data-type="fruit">Orange</li>
</ul>

Not really, but especially in Vaadin 10, there’s nothing that’s preventing you from adding them.