mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Widget titles may not be defined, in which case having an empty heading element is bad for accessibility
This commit is contained in:
parent
ad320d7d88
commit
04dfad688e
@ -1,4 +1,4 @@
|
||||
<nav class="secondary">
|
||||
<h3>$Title</h3>
|
||||
$Content
|
||||
</nav>
|
||||
<nav class="secondary">
|
||||
<% if $Title %><h3>$Title</h3><% end_if %>
|
||||
$Content
|
||||
</nav>
|
||||
|
Loading…
Reference in New Issue
Block a user