Skip to content

Commit

Permalink
chore(react-tree-grid): add role="application" on decorator (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsunderhus authored Feb 14, 2024
1 parent 4393336 commit 03fd014
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/react-tree-grid/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ const preview: Preview = {
decorators: [
(Story) => (
<FluentProvider theme={webLightTheme}>
<Story />
{/*
TreeGrid must be wrapped around role="application",
to avoid some errors on JAWS
*/}
<div role="application">
<Story />
</div>
</FluentProvider>
),
],
Expand Down

0 comments on commit 03fd014

Please sign in to comment.