-
I have seen that for error messages it should be used the small tag instead of the span tag that we are using. Example:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @lisa159, Can you provide examples from where you found this recommendation? Using for error messagesIt's weird because according to MDN documentation:
I went also through the HTML I usually don't take other design system implementations as a source of truth but it seems to be no consensus in what tag should be used in these cases (e.g. I have seen implemented as a Other use casesAccording to the references I previously included, I see a clear use case were where we should be using this tag thought:
|
Beta Was this translation helpful? Give feedback.
Hi @lisa159,
Can you provide examples from where you found this recommendation?
Using for error messages
It's weird because according to MDN documentation:
I went also through the HTML
<small>
specs section and nothing appears related to the use case is proposed in this discussion.I usually don't take other design system implementations as a source of truth but it seems to be no consensus in what tag should be used in these cases (e.g. I have seen implemented as a
<div>
,<span>
or<p>
)Other use cases
According to the references I previously include…