NavigationRendererInterface: Use "div" as default outer element tag

"nav" is less often necessary.

refs #5600
This commit is contained in:
Johannes Meyer 2015-09-07 09:48:32 +02:00
parent e63e15e471
commit ca72bd5455
2 changed files with 2 additions and 2 deletions

View File

@ -13,4 +13,4 @@ if ($searchDashboard->search('dummy')->getPane('search')->hasDashlets()): ?>
/> />
</form> </form>
<?php endif; ?> <?php endif; ?>
<?= $menuRenderer->setHeading(t('Navigation')); ?> <?= $menuRenderer->setHeading(t('Navigation'))->setElementTag('nav'); ?>

View File

@ -60,7 +60,7 @@ interface NavigationRendererInterface
* *
* @var string * @var string
*/ */
const OUTER_ELEMENT_TAG = 'nav'; const OUTER_ELEMENT_TAG = 'div';
/** /**
* The heading's rank * The heading's rank