With items and dir attribute
To allow the correct display of right to left languages on error items
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/error_message", {
right_to_left: true,
items: [
{
text: "Error 1 displayed right to left"
},
{
text: "Error 2 displayed right to left"
}
]
} %>