baseframe-js
Advanced tools
Comparing version 4.11.13 to 4.11.14
@@ -7,3 +7,3 @@ import $ from 'cash-dom'; | ||
import { KEYS } from './util/constants'; | ||
const VERSION = "1.4.0"; | ||
const VERSION = "1.4.1"; | ||
const DATA_NAME = 'Tabs'; | ||
@@ -152,3 +152,4 @@ const EVENT_NAME = 'tabs'; | ||
'aria-label': ariaLabel ? this.textContent : null, | ||
'role': 'tabpanel' | ||
'role': 'tabpanel', | ||
tabindex: '-1' | ||
}); | ||
@@ -186,3 +187,3 @@ if (addIDtoPanel) { | ||
if (isItsBodyItem) { | ||
$(this).removeClass(tabsBodyItemShowCss).attr({ 'aria-hidden': 'true' }); | ||
$(this).removeClass(tabsBodyItemShowCss).attr({ 'aria-hidden': 'true', tabindex: '-1' }); | ||
} | ||
@@ -205,3 +206,3 @@ }); | ||
.addClass(tabsBodyItemShowCss) | ||
.attr({ 'aria-hidden': 'false' }); | ||
.attr({ 'aria-hidden': 'false', tabindex: '0' }); | ||
_.params.afterChange(tabId, _.$tabsList, _.$tabsBody); | ||
@@ -208,0 +209,0 @@ if (init) { |
{ | ||
"name": "baseframe-js", | ||
"version": "4.11.13", | ||
"version": "4.11.14", | ||
"description": "A suite of useful Javascript plugins and functions to help with Front-end Development on websites", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
231473
3959