You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running into issues where we want to tweak the layout of the help text, or reuse just the styles of the help text. Currently, it requires CSS overrides of BaseControl internals, or copy-pasting styles.
What is your proposed solution?
For example, export a BaseControl.VisualHelp like we do with BaseControl.VisualLabel. This must be accompanied by clear accessibility guidance in the docs. This is just a potential solution, there may be better solutions.
The text was updated successfully, but these errors were encountered:
StyledHelp comes with a top margin, which makes it less easy to drop in other components. We should ideally move spacing between components to dedicated grid/flex parents, instead of using margin
BaseControl should be more flexible about allowing consumers to read/write IDs used to label/describe inputs (comment)
Another note: if we plan for BaseControl's individual component to be used independently (like we do in a bunch of places for StyledLabel and StyledHelp), we should reduce any differences caused by rendering such components in isolation vs when they're rendered in BaseControl.
One example is how white space is not trimmed around StyledLabel (see #63886 (comment))
What problem does this address?
We are running into issues where we want to tweak the layout of the
help
text, or reuse just the styles of the help text. Currently, it requires CSS overrides of BaseControl internals, or copy-pasting styles.What is your proposed solution?
For example, export a
BaseControl.VisualHelp
like we do withBaseControl.VisualLabel
. This must be accompanied by clear accessibility guidance in the docs. This is just a potential solution, there may be better solutions.The text was updated successfully, but these errors were encountered: