Replies: 1 comment
-
I'm not an expert on accessibility, but I suppose that for non-trivial cases heading size and styling might not always go together with heading level, so you might want to decouple them. I wouldn't say there's a "best practice" here (gosh, I hate this term). Do whatever works for you. If don't have the need to decouple heading levels from styling, you might even go with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it best practise to, for example, add
variant: text.h1
on every h1, or is it better to somehow include these styles globally? if global, how to do that?Beta Was this translation helpful? Give feedback.
All reactions