Skip to content

Commit

Permalink
Removing ARIA from tags to fix HTML validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Romero committed Sep 22, 2019
1 parent 80e1df2 commit 978066c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/_default/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<div class="container" role="main">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<article class="post-preview">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel-group" id="accordion">
{{ range $key, $value := .Data.Terms.ByCount }}
<div class="panel panel-default">
<a class="collapsed" role="button" data-toggle="collapse" data-target="#collapse{{ $value.Name }}" data-parent="#accordion" aria-expanded="false" aria-controls="collapse{{ $value.Name }}">
<div class="panel-heading" role="tab" id="header{{ $value.Name }}">
<a class="collapsed" role="button" data-toggle="collapse" data-target="#collapse{{ $value.Name }}" data-parent="#accordion">
<div class="panel-heading" id="header{{ $value.Name }}">
<h4 class="panel-title">
{{ $value.Name }}
<span class="badge">{{ $value.Count }}</span>
</h4>
</div>
</a>
<div id="collapse{{ $value.Name }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{{ $value.Name }}">
<div id="collapse{{ $value.Name }}" class="panel-collapse collapse">
<div class="panel-body">
<a href="{{ $.Site.LanguagePrefix | absURL }}/{{ $data.Plural }}/{{ $value.Name | urlize }}/" class="list-group-item view-all">
View all</a>
Expand Down

0 comments on commit 978066c

Please sign in to comment.