Skip to content

Commit 2ff2cfc

Browse files
HDS-4650 Add insight banner regarding HTML tag usage
1 parent 19bcfb9 commit 2ff2cfc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

website/docs/layouts/grid/partials/code/how-to-use.md

+6
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ To specify the HTML tag used to render the grid container and/or item(s), use th
6161
</Hds::Layout::Grid>
6262
```
6363

64+
!!! Insight
65+
66+
While by default the component renders a `<div>`, we invite consumers to consider which semantic HTML tag is the correct one for the context in which the text is used to meet WCAG Success Criterion [1.3.1 Info and Relationships](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html) as the visual experience should match what is presented to the user with assistive technology.
67+
68+
!!!
69+
6470
### Gap
6571

6672
To control the spacing between grid items, use the `@gap` argument:

0 commit comments

Comments
 (0)