Skip to content

Commit adbd7d7

Browse files
authored
Merge pull request #296 from CivicActions/mgifford-patch-6
Adding navigation element labelling
2 parents 8b4ceae + 3179de6 commit adbd7d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/menus/main-menu/main-menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types'
55
const MainMenu = ({ redHeader }) => {
66

77
return (
8-
<nav className='header-nav'>
8+
<nav className='header-nav' aria-label="Main navigation">
99
<ul className="menu--list">
1010
<li
1111
className='menu--list__item'>

src/components/pagination.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Pagination = ({ pageContext }) => {
66
const { previousPagePath, nextPagePath, humanPageNumber, numberOfPages } = pageContext
77

88
return (
9-
<nav className="pagination" role="navigation">
9+
<nav className="pagination" aria-label="Pagination">
1010
<div className='inner'>
1111
<div className='pager--previous'>
1212
{previousPagePath && (
@@ -30,4 +30,4 @@ const Pagination = ({ pageContext }) => {
3030
</nav>
3131
)
3232
}
33-
export default Pagination;
33+
export default Pagination;

0 commit comments

Comments
 (0)