Skip to content

Commit 08627c4

Browse files
committed
fix: improve a11y for search results
1 parent 0b55ca4 commit 08627c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/components/Package/Card.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ const pkgDescription = useMarkdown(() => ({
168168
:key="keyword"
169169
:pressed="props.filters?.keywords.includes(keyword)"
170170
:title="`Filter by ${keyword}`"
171+
:data-result-index="index"
171172
@click.stop="emit('clickKeyword', keyword)"
172173
>
173174
{{ keyword }}

0 commit comments

Comments
 (0)