Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(accordion): make header links keyboard accessible
Browse files Browse the repository at this point in the history
Closes #2869
  • Loading branch information
blah238 authored and chrisirhc committed Nov 9, 2014
1 parent a5e114d commit 992b232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/accordion/accordion-group.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle" ng-click="toggleOpen()" accordion-transclude="heading"><span ng-class="{'text-muted': isDisabled}">{{heading}}</span></a>
<a href class="accordion-toggle" ng-click="toggleOpen()" accordion-transclude="heading"><span ng-class="{'text-muted': isDisabled}">{{heading}}</span></a>

This comment has been minimized.

Copy link
@bgever

bgever Feb 16, 2015

Contributor

Empty href causes a default page navigation in a nested button where in its click handler the $event is stopped propagating. #3299

</h4>
</div>
<div class="panel-collapse" collapse="!isOpen">
<div class="panel-body" ng-transclude></div>
</div>
</div>
</div>

0 comments on commit 992b232

Please sign in to comment.