Skip to content

Commit 35eef50

Browse files
committed
ADA-233: Remove role attribute from nav elements
1 parent c41f226 commit 35eef50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/layouts/blacklight/base.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</head>
3939

4040
<body class="<%= render_body_class %>">
41-
<nav id="skip-link" role="navigation" aria-label="<%= t('blacklight.skip_links.label') %>">
41+
<nav id="skip-link" aria-label="<%= t('blacklight.skip_links.label') %>">
4242
<%= link_to t('blacklight.skip_links.search_field'), '#search_field', class: 'element-invisible element-focusable rounded-bottom py-2 px-3', data: { turbolinks: 'false' } %>
4343
<%= link_to t('blacklight.skip_links.main_content'), '#main-container', class: 'element-invisible element-focusable rounded-bottom py-2 px-3', data: { turbolinks: 'false' } %>
4444
<%= content_for(:skip_links) %>

app/views/shared/_header_navbar.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nav class="navbar navbar-expand-md border-bottom topbar" role="navigation">
1+
<nav class="navbar navbar-expand-md border-bottom topbar">
22
<div class="container">
33
<%= link_to (image_tag 'geodata_logo_color.svg', {:"data-svg-fallback" => "#{image_path('geodata_logo.png')}", :alt => 'GeoData @ UC Berkeley'}), root_path %>
44
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#user-util-collapse" aria-controls="user-util-collapse" aria-expanded="false" aria-label="Toggle navigation">

0 commit comments

Comments
 (0)