Skip to content

Commit

Permalink
fix: remove aria-label in heading link
Browse files Browse the repository at this point in the history
Closes #1336
  • Loading branch information
HEIGE-PCloud committed Aug 30, 2024
1 parent e901a84 commit f969506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-heading.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{- end -}}

<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="headerLink">
<a href="#{{ .Anchor | safeURL }}" class="header-mark" aria-label="Header mark for '{{ .Text }}'"></a>
<a href="#{{ .Anchor | safeURL }}" class="header-mark"></a>
{{- if $isEnable -}}

{{/* Add 1 to the current level */}}
Expand Down

0 comments on commit f969506

Please sign in to comment.