-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Conversation
@@ -25,11 +25,15 @@ AngularJS version of the tabs directive. | |||
* `active` <i class="glyphicon glyphicon-eye-open"></i> | |||
_(Defaults: false)_ : | |||
Whether tab is currently selected. | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change necessary?
I am not sure that this is the best way to handle this. Also the history needs to be fixed (there should not be a merge commit). |
2eb6af7
to
455d3fc
Compare
Hi @wesleycho, I fixed the history and migrate key navigation to pure javascript. |
- Created tests to check aria attributes in tabs - Added arrow navigation for tabs - Updated tabs documentation
ad86702
to
ebdda0f
Compare
I made a merge to update this branch and squashed the commits. |
@@ -192,6 +193,7 @@ angular.module('ui.bootstrap.tabs', []) | |||
scope: { | |||
active: '=?', | |||
heading: '@', | |||
id : '@', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be @?
There are a lot of code style problems here - most problematic though is the DOM traversal mentioned #3908 (comment) . That would be a breaking change since if a user is overriding the template, it enforces DOM structure on that template. |
Sorry wesley, automatic merge made some changes in code style that I didn't see. My fault. |
Closing in favor of #4772. |
We added some features to provide accessibility in tabs.
The documentation has been updated and tests were created.
Referencing the discussion #3526