Skip to content

Commit ad636dc

Browse files
authored
Copilot Search a11y: use div instead of header for overlay (#55924)
1 parent 12eb5e7 commit ad636dc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/search/components/input/SearchOverlay.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { useRouter } from 'next/router'
44
import {
55
ActionList,
66
Box,
7-
Header,
87
IconButton,
98
Link,
109
Overlay,
@@ -698,7 +697,7 @@ export function SearchOverlay({
698697
aria-labelledby={overlayHeadingId}
699698
ref={overlayRef}
700699
>
701-
<Header className={styles.header}>
700+
<div className={styles.header}>
702701
<Box
703702
sx={{
704703
display: isAskAIState ? 'flex' : 'none',
@@ -761,7 +760,7 @@ export function SearchOverlay({
761760
</Stack>
762761
}
763762
/>
764-
</Header>
763+
</div>
765764
<ActionList.Divider
766765
sx={{
767766
display: inErrorState ? 'none' : 'block',

0 commit comments

Comments
 (0)