Skip to content

Commit

Permalink
fix(a11y): add semantic roles attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
squirrel4k committed Dec 9, 2021
1 parent 026cc98 commit 7a1ab9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/NavigationSliceZone.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<header class="navigation-slice-zone">
<header class="navigation-slice-zone" role="banner">
<client-only>
<slide-menu width="320" class="burger-menu">
<burger-menu-nav :items="burgerMenuLinks" />
Expand Down
2 changes: 1 addition & 1 deletion components/slices/NavigationZone.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<nav class="navigation-zone">
<nav class="navigation-zone" role="navigation">
<ul>
<li
v-for="(menuItem, index) in navigationLinks"
Expand Down
2 changes: 1 addition & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div id="app" class="app-viewport">
<hot-news-banner />
<navigation-slice-zone />
<main>
<main role="main">
<nuxt />
</main>
<footer-slice-zone />
Expand Down

0 comments on commit 7a1ab9f

Please sign in to comment.