From 722969ddc439310ed612d7adda6b2155389bf64c Mon Sep 17 00:00:00 2001 From: jquense Date: Thu, 18 Jun 2015 03:30:43 -0400 Subject: [PATCH] [added] Accessibility, add tab roles when type "tabs" add tablist and tab roles when the nav is bsStyle "tabs" --- src/Nav.js | 9 +++++++-- src/NavItem.js | 13 +++++++++---- test/NavItemSpec.js | 36 ++++++++++++++++++++++++++++++++++++ test/NavSpec.js | 19 +++++++++++++++++++ 4 files changed, 71 insertions(+), 6 deletions(-) diff --git a/src/Nav.js b/src/Nav.js index ed3b0d2ac9..d4873cc2b4 100644 --- a/src/Nav.js +++ b/src/Nav.js @@ -52,7 +52,7 @@ const Nav = React.createClass({ return ( ); }, @@ -67,7 +67,11 @@ const Nav = React.createClass({ classes['navbar-right'] = this.props.right; return ( -