File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/react/src/PageLayout Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -162,8 +162,7 @@ export const NestedScrollContainer: StoryFn = args => (
162162 < Placeholder label = "Header" height = { 64 } />
163163 </ PageLayout . Header >
164164 < PageLayout . Content padding = "normal" width = "large" >
165- { /* eslint-disable-next-line github/a11y-role-supports-aria-props */ }
166- < Box sx = { { display : 'grid' , gap : 3 } } tabIndex = { 0 } aria-label = "Page content" >
165+ < Box sx = { { display : 'grid' , gap : 3 } } tabIndex = { 0 } role = "region" aria-label = "Page content" >
167166 { Array . from ( { length : args . numParagraphsInContent } ) . map ( ( _ , i ) => (
168167 < Box key = { i } as = "p" sx = { { margin : 0 } } >
169168 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam at enim id lorem tempus egestas a non
@@ -335,8 +334,7 @@ export const ScrollContainerWithinPageLayoutPane: StoryFn = () => (
335334 </ Box >
336335 </ PageLayout . Pane >
337336 < PageLayout . Content padding = "normal" width = "large" >
338- { /* eslint-disable-next-line github/a11y-role-supports-aria-props */ }
339- < Box sx = { { display : 'grid' } } tabIndex = { 0 } aria-label = "Page content" >
337+ < Box sx = { { display : 'grid' } } tabIndex = { 0 } role = "region" aria-label = "Page content" >
340338 < Placeholder label = "Page content" height = { 1600 } />
341339 </ Box >
342340 </ PageLayout . Content >
You can’t perform that action at this time.
0 commit comments