diff options
| author | Patrick H. Lauke <[email protected]> | 2015-03-27 11:57:03 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2015-03-27 11:57:03 +0000 |
| commit | 3b28b75cf3f191a7e1632f6192807312af8db65f (patch) | |
| tree | 777f88cc40a4321bbaebe0b1bff1dbfa82340b5d /docs | |
| parent | 0fa643a8a3569ce669348cdad98b080efa9843df (diff) | |
| download | bootstrap-3b28b75cf3f191a7e1632f6192807312af8db65f.tar.xz bootstrap-3b28b75cf3f191a7e1632f6192807312af8db65f.zip | |
Remove wrong role="tabpanel" from parent container
As per discussion on https://github.com/w3c/wai-wcag-quickref/issues/2
and #13554
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/js/tabs.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/js/tabs.html b/docs/_includes/js/tabs.html index 8c4c3c08f..3cd5e1b67 100644 --- a/docs/_includes/js/tabs.html +++ b/docs/_includes/js/tabs.html @@ -3,7 +3,7 @@ <h2 id="tabs-examples">Example tabs</h2> <p>Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.</p> - <div class="bs-example bs-example-tabs" role="tabpanel" data-example-id="togglable-tabs"> + <div class="bs-example bs-example-tabs" data-example-id="togglable-tabs"> <ul id="myTabs" class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"><a href="#home" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">Home</a></li> <li role="presentation"><a href="#profile" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile">Profile</a></li> @@ -59,7 +59,7 @@ $('#myTabs li:eq(2) a').tab('show') // Select third tab (0-indexed) <h3>Markup</h3> <p>You can activate a tab or pill navigation without writing any JavaScript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap <a href="../components/#nav-tabs">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <a href="../components/#nav-pills">pill styling</a>.</p> {% highlight html %} -<div role="tabpanel"> +<div> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> |
