Skip to content
Permalink
Browse files

Removing ARIA from tags to fix HTML validation

  • Loading branch information...
Michael Romero
Michael Romero committed Sep 22, 2019
1 parent 80e1df2 commit 978066cc06d71c5fe09084dab95775c674dc9f0c
Showing with 4 additions and 4 deletions.
  1. +4 −4 layouts/_default/terms.html
@@ -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>

0 comments on commit 978066c

Please sign in to comment.
You can’t perform that action at this time.