Skip to content

Commit aaa31f0

Browse files
committed
chore: Set accessible name to landmark navigation
1 parent 651f2a4 commit aaa31f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VueSkipToList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<nav class="vue-skip-to__nav">
2+
<nav class="vue-skip-to__nav" aria-labelledby="list-title">
33
<span id="list-title">{{ listLabel }}</span>
44
<ul class="vue-skip-to__nav-list">
55
<li
@@ -11,7 +11,7 @@
1111
>
1212
<VueSkipToSingle
1313
:to="el.anchor"
14-
:aria-label="el.ariaLabel || `${listLabel} ${el.label}`"
14+
:aria-label="el.ariaLabel || el.label"
1515
>
1616
{{ el.label }}
1717
</VueSkipToSingle>

0 commit comments

Comments
 (0)