makeup-active-descendant
Advanced tools
Comparing version
@@ -84,2 +84,3 @@ 'use strict'; | ||
var activeClassName = this._options.activeDescendantClassName; | ||
var widget = this; | ||
@@ -89,3 +90,3 @@ this._items.forEach(function (el) { | ||
if (this._options.useAriaSelected === true) { | ||
if (widget._options.useAriaSelected === true) { | ||
el.removeAttribute('aria-selected'); | ||
@@ -92,0 +93,0 @@ } |
{ | ||
"name": "makeup-active-descendant", | ||
"description": "Implements ARIA active descendant keyboard navigation", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/makeup-js/makeup-active-descendant.git", |
285238
0.01%186
0.54%