Skip to content

Commit

Permalink
Merge pull request #3457 from projectblacklight/3456-redundant-aria-role
Browse files Browse the repository at this point in the history
Remove redundant aria role from nav element
  • Loading branch information
jcoyne authored Dec 4, 2024
2 parents e976f1d + 5d6e186 commit 38c0b58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/components/blacklight/document_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def initialize(document: nil, partials: nil,
id: nil, classes: [], component: :article, title_component: nil,
counter: nil, document_counter: nil, counter_offset: 0,
show: false, **args)

@presenter = document || args[self.class.collection_parameter]
@document = @presenter.document
@view_partials = partials || []
Expand Down
2 changes: 1 addition & 1 deletion app/components/blacklight/skip_link_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav id="skip-link" role="navigation" class="visually-hidden-focusable" aria-label="<%= t('blacklight.skip_links.label') %>">
<nav id="skip-link" class="visually-hidden-focusable" aria-label="<%= t('blacklight.skip_links.label') %>">
<div class="container-xl">
<%= link_to_main %>
<%= link_to_search %>
Expand Down

0 comments on commit 38c0b58

Please sign in to comment.