Skip to content

Commit 581915e

Browse files
committed
fix: add aria-labelledby attribute to SearchResults for accessibility
1 parent d933bae commit 581915e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/search.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const SearchResults = ({results, getItemProps, highlightedIndex}) => {
4444
as={LinkNoUnderline}
4545
to={item.path}
4646
active={highlightedIndex === index}
47+
aria-labelledby={null}
4748
>
4849
<Box sx={{display: 'flex', flexDirection: 'column', flex: '0 0 auto'}}>
4950
<Text sx={{fontSize: 0}}>

0 commit comments

Comments
 (0)