10. HTML Attributes
Finally, traits can also be very useful when using L20n for localization of more complex UI elements, such as HTML components.
Those elements often contain multiple translatable messages per one
widget. For example, an HTML form input may have a value, but also a
aria-label attribute and
Another example would be a Web Component confirm window with
cancel button and a message.