Skip to content

Commit

Permalink
fix: A11y issues on runtime-drawers-with-only-global page
Browse files Browse the repository at this point in the history
  • Loading branch information
georgylobko committed Nov 13, 2024
1 parent f59f005 commit 01a925d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pages/app-layout/runtime-drawers-with-only-global.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { AppLayout } from '~components';
import awsuiPlugins from '~components/internal/plugins';

import ScreenshotArea from '../utils/screenshot-area';
import labels from './utils/labels';

awsuiPlugins.appLayout.registerDrawer({
id: 'circle-global',
Expand Down Expand Up @@ -43,7 +44,15 @@ awsuiPlugins.appLayout.registerDrawer({
export default function WithDrawersGlobalOnly() {
return (
<ScreenshotArea gutters={false}>
<AppLayout toolsHide={true} />
<AppLayout
ariaLabels={labels}
toolsHide={true}
content={
<div>
<h1>Content title</h1>
</div>
}
/>
</ScreenshotArea>
);
}

0 comments on commit 01a925d

Please sign in to comment.