-
As title mentions, a heading component has both
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @jdesai321 Simply put, visual hierarchy doesn't always follow document hierarchy in single page apps. So we decouple the visual appearance, via a For accessibility reasons we want to create a nice clean document hierarchy where:
Sometimes, the appropriate document level doesn't match the visual design, because, for example, the third section of content is less important than the previous two, but at the same logical level of document hierarchy. By decoupling visual appearance from hierarchy, we enable designers and engineers to create visual and semantic hierarchy correctly for all users. |
Beta Was this translation helpful? Give feedback.
Hi @jdesai321
Simply put, visual hierarchy doesn't always follow document hierarchy in single page apps. So we decouple the visual appearance, via a
variant
, from the semantic hierarchy of the element to renderas
.For accessibility reasons we want to create a nice clean document hierarchy where:
h1
Sometimes, the appropriate document level doesn't match the visual design, because, for example, the third section of content is less important than the previous two, but at the same logical level of document hierarchy.
By decoupling visual appearance from hierarchy, we enable d…