Description
Suggestion has plural (React) / data-sr-plural (HTML) and singular (React) / data-sr-singular (HTML)
Suggestion.Toggle has aria-label
All of these get Norwegian text by default and are not visible on screen, so they are easy to miss if you're using a different language.
On the other hand, Suggestion also supports uses CSS variable --dsc-suggestion-create-text instead of data-empty for the text in the creatable option (a visible text), which means consumers can use CSS to select the text based on the lang attribute.
It would be nice if all these were settable in CSS so we could use a similar mechanism for all of them.
This might also apply to other components, I haven't checked thoroughly.
Additional Information
No response
Description
Suggestionhasplural(React) /data-sr-plural(HTML) andsingular(React) /data-sr-singular(HTML)Suggestion.Togglehasaria-labelAll of these get Norwegian text by default and are not visible on screen, so they are easy to miss if you're using a different language.
On the other hand,
Suggestionalso supports uses CSS variable--dsc-suggestion-create-textinstead ofdata-emptyfor the text in the creatable option (a visible text), which means consumers can use CSS to select the text based on thelangattribute.It would be nice if all these were settable in CSS so we could use a similar mechanism for all of them.
This might also apply to other components, I haven't checked thoroughly.
Additional Information
No response