diff options
Diffstat (limited to '.zs/components')
| -rwxr-xr-x | .zs/components/nav | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.zs/components/nav b/.zs/components/nav index c787517..757c594 100755 --- a/.zs/components/nav +++ b/.zs/components/nav @@ -68,7 +68,6 @@ local current_file = get_file_stem(current_path) local acc = {} for _, link in ipairs(links) do - local title = link.title local class = "tab" if current_file == get_file_stem(link.url) or @@ -84,13 +83,14 @@ for _, link in ipairs(links) do { tag = "a", href = link.url, + ["aria-label"] = link.title, { tag = "div", - style = [[mask-image: url("/assets/svg/]] .. link.icon .. [[.svg")]] + style = [[mask-image: url("/assets/svg/]] .. link.icon .. [[.svg")]], }, { tag = "span", - title + link.title } } }) |
