Skip to content

Commit 83cad96

Browse files
janhassellee-chase
andauthored
fix: apply basic semantic html (#191)
Co-authored-by: Lee Chase <[email protected]>
1 parent cc082e1 commit 83cad96

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/commonHeader/CommonHeader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { AspectRatio, Column, Grid, Heading } from '@carbon/react';
99

1010
export const CommonHeader = ({ title, paragraphs }) => {
1111
return (
12-
<Grid className="cs--common-header">
12+
<Grid as="header" className="cs--common-header">
1313
<Column sm={4} md={8} lg={8}>
1414
<AspectRatio as="section" ratio="16x9">
1515
<Heading className="cs--common-header__title">{title}</Heading>

src/components/footer/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { AspectRatio, Column } from '@carbon/react';
99

1010
export const Footer = () => {
1111
return (
12-
<Column sm={4} md={8} lg={8} className="cs--footer">
12+
<Column as="footer" sm={4} md={8} lg={8} className="cs--footer">
1313
<AspectRatio ratio="16x9">
1414
<p>Footer</p>
1515
<p>Copyright IBM 2025</p>

src/layouts/page-layout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const PageLayout = ({ children, className, fallback }) => {
2020
<div className={classNames('cs--page-layout', className)}>
2121
<Nav />
2222
<Theme theme={primaryTheme} as={Content}>
23-
<Content className="cs--page-layout-content">{children}</Content>
23+
<div className="cs--page-layout-content">{children}</div>
2424
</Theme>
2525
</div>
2626
</Suspense>

0 commit comments

Comments
 (0)