Skip to content

Commit

Permalink
Improved accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Feb 3, 2024
1 parent ab9477c commit c4574c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="alert alert-{{ $color }}" role="alert">
{{- with .Get "title" -}}
<div class="h4 alert-heading">
<div class="h4 alert-heading" role="heading">
{{- . | safeHTML -}}
</div>
{{/* Do **not** remove this comment! It ends the previous HTML block; see https://spec.commonmark.org/0.30/#html-blocks, 7. */}}
Expand Down

0 comments on commit c4574c8

Please sign in to comment.