The secondary tabs are outputting invalid HTML as can be seen in this screenshot:

This is caused by the page template, specifically this part:
<?php if ($secondary_local_tasks): ?>
<div class="tabs-secondary clearfix"><ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul></div>
<?php endif; ?>When rendered the $secondary_local_tasks already creates a UL and is also being wrapped in a UL causing a UL element and an H2 element to be direct children of another UL which is invalid HTML.
Attached is a patch that remedies this.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3274261-2-after.png | 173.68 KB | shyam_bhatt |
| #2 | 3274261-2-before.png | 172.62 KB | shyam_bhatt |
| adminimal-theme-secondary-tabs.patch | 656 bytes | kyoder | |
| adminimal-secondary-tabs.png | 8.58 KB | kyoder |
Comments
Comment #2
shyam_bhattI have checked the patch for the D7 site working fine. The HTML structure is updated for the "secondary tab" listing. Check the below images:
Before:

After:
