Skip to content

Commit

Permalink
chore(docs): side-drawer docs update (VIV-2104) (#2056)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelbt authored Dec 15, 2024
1 parent 23640b0 commit 146f7ad
Show file tree
Hide file tree
Showing 6 changed files with 342 additions and 242 deletions.
9 changes: 7 additions & 2 deletions apps/docs/content/_data/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,13 @@
},
{
"title": "Side Drawer",
"page": "legacy",
"markdown": "./libs/components/src/lib/side-drawer/README.md"
"description": "",
"variations": "./libs/components/src/lib/side-drawer/VARIATIONS.md",
"guidelines": "./libs/components/src/lib/side-drawer/GUIDELINES.md",
"hideGuidelines": "true",
"code": "./libs/components/src/lib/side-drawer/README.md",
"accessibility": "./libs/components/src/lib/side-drawer/ACCESSIBILITY.md",
"useCases": "./libs/components/src/lib/side-drawer/USE-CASES.md"
},
{
"title": "Nav",
Expand Down
7 changes: 7 additions & 0 deletions libs/components/src/lib/side-drawer/ACCESSIBILITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Best Practices

When the side drawer is opened (via a button in the content) focus should automatically move to the first focusable element inside the side-drawer content area.

## Resources

- [Vivid Card: Manual accessibility test](https://docs.google.com/spreadsheets/d/1d_8HUYQlmohXCt5oBE4ja429sd_xlwExwt3VJ_yUtus/edit?gid=1175911860#gid=1175911860)
Empty file.
Loading

0 comments on commit 146f7ad

Please sign in to comment.