mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-27 05:36:28 -05:00
Issue 1043: changed <div> tag to <h1> tag for semantic HTML on the top-most UI buttons for an active page
This commit is contained in:
@@ -68,7 +68,7 @@ export const Layout = React.memo(function Layout({
|
||||
</header>
|
||||
<Menu expanded={menuOpen} closeMenu={() => setMenuOpen(false)} />
|
||||
{activeNavItem && (
|
||||
<div className="layout__page-title-header">
|
||||
<h1 className="layout__page-title-header">
|
||||
<Image
|
||||
path={navIconUrl(activeNavItem.name)}
|
||||
width={28}
|
||||
@@ -76,7 +76,7 @@ export const Layout = React.memo(function Layout({
|
||||
alt=""
|
||||
/>
|
||||
{t(`pages.${activeNavItem.name}` as any)}
|
||||
</div>
|
||||
</h1>
|
||||
)}
|
||||
{children}
|
||||
<Footer patrons={patrons} />
|
||||
|
||||
Reference in New Issue
Block a user