Skip to content

Commit

Permalink
fix(a11y): update landmark roles with labels
Browse files Browse the repository at this point in the history
Refs: HID-2413
  • Loading branch information
rupl committed Apr 9, 2024
1 parent 4470492 commit 4a492d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/includes/footer.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<footer class="cd-footer" role="contentinfo">
<footer class="cd-footer" aria-label="Site footer">
<div class="cd-container cd-footer__inner">

<div class="cd-footer__section cd-footer__section--menu">
Expand Down
4 changes: 2 additions & 2 deletions templates/includes/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Skip to main content
</a>
<div class="cd-page-layout-container"><!-- intentionally unclosed! -->
<header class="cd-header" role="banner">
<header class="cd-header" aria-label="Site header">
<div class="cd-global-header">
<div class="cd-container cd-global-header__inner">
<div id="cd-global-header__actions" class="cd-global-header__actions">
Expand All @@ -41,7 +41,7 @@
</div>
</div>

<nav role="navigation" class="block block-menu navigation menu--account cd-global-header__user-menu">
<nav aria-label="User menu" class="block block-menu navigation menu--account cd-global-header__user-menu">
<h2 class="visually-hidden">User menu</h2>
<ul class="menu cd-user-menu" data-cd-menu-level="0">
<% if (locals.user) { %>
Expand Down

0 comments on commit 4a492d1

Please # to comment.