Skip to content

Commit

Permalink
Convert user bar into nav landmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Aug 14, 2024
1 parent e2dcd99 commit 852ac4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/view/common/user-bar.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $urlHelper = $this->plugin('url');
$this->headLink()->prependStylesheet($this->assetUrl('css/user-bar.css', 'Omeka'));
$this->headLink()->prependStylesheet('//fonts.googleapis.com/css?family=Source+Code+Pro|Lato:400,400italic,700,700italic');
?>
<div id="user-bar">
<nav id="user-bar" aria-label="<?php echo $translate('Omeka User'); ?>">
<?php if ($user): ?>
<div class="site-links">
<?php foreach ($links as $link): ?>
Expand All @@ -27,4 +27,4 @@ $this->headLink()->prependStylesheet('//fonts.googleapis.com/css?family=Source+C
<?php else: ?>
<?php echo $hyperlink($translate('Log in'), $urlHelper('login'), ['class' => 'login']); ?>
<?php endif; ?>
</div>
</nav>

0 comments on commit 852ac4e

Please sign in to comment.