Skip to content

Commit

Permalink
docs(react-tree-grid): add a11y section to documentation (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsunderhus authored Nov 21, 2024
1 parent 369d425 commit 07c046d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "docs(react-tree-grid): add a11y section to documentation",
"packageName": "@fluentui-contrib/react-tree-grid",
"email": "[email protected]",
"dependentChangeType": "patch"
}
3 changes: 3 additions & 0 deletions packages/react-tree-grid/stories/a11y.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Accessibility

Here are some accessibility edge cases scenarios we identified and users should keep in mind while using the `TreeGrid` components.
3 changes: 2 additions & 1 deletion packages/react-tree-grid/stories/index.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Meta } from '@storybook/react';
import { TreeGrid } from '@fluentui-contrib/react-tree-grid';
import description from '../README.md';
import a11y from './a11y.md';

export { Default } from './Default.stories';
export { Meet } from './Meet.stories';
Expand All @@ -15,7 +16,7 @@ const meta = {
parameters: {
docs: {
description: {
component: description,
component: [description, a11y].join('\n'),
},
},
},
Expand Down

0 comments on commit 07c046d

Please sign in to comment.