diff --git a/.changeset/quiet-walls-walk.md b/.changeset/quiet-walls-walk.md new file mode 100644 index 0000000000..bded20978a --- /dev/null +++ b/.changeset/quiet-walls-walk.md @@ -0,0 +1,5 @@ +--- +"@primer/css": minor +--- + +Refactors NavigationList to better handle accessibility. Backwards compatible for TreeView CSS. diff --git a/docs/content/components/action-list.md b/docs/content/components/action-list.md index 79b1955d56..1296346e2f 100644 --- a/docs/content/components/action-list.md +++ b/docs/content/components/action-list.md @@ -7,11 +7,11 @@ bundle: action-list storybook: https://primer.style/css/storybook/?path=/story/components-actionlist-actionlistitem--playground --- -Reference the [Action list interface guidelines](https://primer.style/design/components/action-list) for details on where and how to use Action List. +Reference the [Action list interface guidelines](https://primer.style/design/components/action-list) for details on where and how to use Action list. ## Action list -Action List is a `ul` list designed to contain Action List Items. +Action list is a `ul` list designed to contain list items. ### Variants @@ -20,6 +20,7 @@ Action List is a `ul` list designed to contain Action List Items. | `ActionList` | Default styles | | `ActionList--divided` | Show dividers between items | | `ActionList--subGroup` | If Action List is nested as a sub-list | +| `ActionList--tree` | Tree-view specific styles | #### Default @@ -27,12 +28,12 @@ Action List is a `ul` list designed to contain Action List Items. @@ -41,21 +42,21 @@ Action List is a `ul` list designed to contain Action List Items. #### Item dividers ```html live -