Change the accessible role of info boxes to note
(#2022)
The `alert` role is intrusive and should only be used when the user's immediate attention is required. Given that this boxes only provide additional content to the current paragraph, the `note` role seems more appropriate. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
7867ebb250
commit
f819403bd5
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,6 @@
|
|||
{{ $content := .content}}
|
||||
{{ $omit_title := .omit_title }}
|
||||
|
||||
<div class="alert {{ $type }} {{ if $omit_title }}omit-title{{end}}" role="alert">
|
||||
<div class="alert {{ $type }} {{ if $omit_title }}omit-title{{end}}" role="note">
|
||||
{{ $content }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue