Skip to content

Commit

Permalink
MDL-69301 core: Enhanced WAI-ARIA support for tab elements
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaies committed Dec 2, 2020
1 parent baf68ea commit c8ea0c1
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 13 deletions.
4 changes: 2 additions & 2 deletions lib/templates/settings_link_page.mustache
Expand Up @@ -40,15 +40,15 @@
<ul class="nav nav-tabs" role="tablist">
<!-- First the top most node and immediate children -->
<li class="nav-item">
<a class="nav-link active" href="#link{{node.key}}" data-toggle="tab" role="tab">{{node.text}}</a>
<a class="nav-link active" href="#link{{node.key}}" data-toggle="tab" role="tab" aria-selected="true">{{node.text}}</a>
</li>
<!-- Now the first level children with sub nodes -->
{{#node.children}}
{{#children.count}}
{{#display}}
{{^is_short_branch}}
<li class="nav-item">
<a class="nav-link" href="#link{{key}}" data-toggle="tab" role="tab">{{text}}</a>
<a class="nav-link" href="#link{{key}}" data-toggle="tab" role="tab" aria-selected="false" tabindex="-1">{{text}}</a>
</li>
{{/is_short_branch}}
{{/display}}
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/amd/build/aria.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion theme/boost/amd/build/aria.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/boost/amd/build/loader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c8ea0c1

Please sign in to comment.