This framework uses CSS Flexboxes to manage columns. It provides:
lists of links arranged horizontally
2 columns for $mobile and $tablet breakpoint
4 columns for $desktop breakpoint.
Personally I don't think including the menu / block title as the first <li> element of the <ul> is semantically correct. It also makes theming and styling of the menus difficult in various CMS where generally $menu_title would be rendered before the <ul>.
I propose moving the <h2> out of the menu and instead of targeting the <ul> with the grid columns we add a <div class="footer-menu"> around each menu and target with that selector instead, which will encompass the menu + the heading, something like:
<section class="footer-top">
<nav>
<div class="footer-menu>
<h2>Title header</h2>
<ul>
<li><a href="#">Example global link</a></li>
<li><a href="#">Example global link</a></li>
</ul>
</div>
</nav>
</section>
I have a working branch and can pop a PR in if there is agreement.
DTA kit provides footer markup as per the following:
And states:
Personally I don't think including the menu / block title as the first
<li>
element of the<ul>
is semantically correct. It also makes theming and styling of the menus difficult in various CMS where generally $menu_title would be rendered before the<ul>
.I propose moving the
<h2>
out of the menu and instead of targeting the<ul>
with the grid columns we add a<div class="footer-menu">
around each menu and target with that selector instead, which will encompass the menu + the heading, something like:I have a working branch and can pop a PR in if there is agreement.