Skip to content
Permalink
Browse files

Fix: Accessibility issue in mobile menu

Fix also an issue refreshing the site after a category is clicked.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Fix #2053
Close #2054
  • Loading branch information...
sarvaje authored and molant committed Mar 13, 2019
1 parent 29b2274 commit 169f2da4bbed1b452c799baf01aa8ddc4af3ef76
@@ -166,7 +166,7 @@
scrollTo(title);
};

var categoryClasses = ['rule-tile', 'rule-icon', 'rule-tile__category', 'rule-tile__sub-category', 'rule-tile__passed', 'rule-tile__info', 'rule-tile__results'];
var categoryClasses = ['rule-tile--wrapper', 'rule-tile', 'rule-icon', 'rule-tile__category', 'rule-tile__sub-category', 'rule-tile__passed', 'rule-tile__info', 'rule-tile__results'];

var onContainerClick = function (evt) {
var element = evt.target;
@@ -1,4 +1,4 @@
<a class="rule-tile--wrapper" id="summary-<%= category.name %>" href="#<%= category.name %>">
<a class="rule-tile--wrapper" id="summary-<%= category.name %>" href="#category-<%= category.name %>">
<div class="rule-tile">
<img src="<%= category.image %>" class="rule-icon" alt="" role="presentation">
<div class="rule-tile__info">

0 comments on commit 169f2da

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