Skip to content

Commit

Permalink
Rephrase landmarks guideline again
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Sep 4, 2024
1 parent bbb73e9 commit cce080d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storybook/src/components/Accordion/Accordion.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you want the contents of an accordion section to appear initially, pass the `

An Accordion Section renders a `section` element in HTML by default.
Each of them introduces a landmark region, but having many of them on a page can confuse screen reader users.
Consider using general `div` elements instead through `sectionAs="div"`.
Let Accordions with 6 Sections or more render generic `div` elements through `sectionAs="div"`.

<Canvas of={AccordionStories.ReduceLandmarks} />

Expand Down

0 comments on commit cce080d

Please sign in to comment.