mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-29 15:34:09 +02:00
Change the accessible role of info boxes to note
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
8ab2988824
commit
73bea48923
|
|
@ -15,6 +15,6 @@
|
||||||
{{ $content := .content}}
|
{{ $content := .content}}
|
||||||
{{ $omit_title := .omit_title }}
|
{{ $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 }}
|
{{ $content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue