add accessibility for panel (#1138)

This commit is contained in:
Anthony Dresser
2018-04-13 12:09:36 -07:00
committed by GitHub
parent f739c47984
commit 8bc32e6371
3 changed files with 8 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ let idPool = 0;
<div class="tabbedPanel fullsize" #tabbedPanel>
<div *ngIf="!options.showTabsWhenOne ? _tabs.length !== 1 : true" class="composite title" #titleContainer>
<div class="tabList" #tabList>
<div class="tabList" #tabList role="tablist">
<div *ngFor="let tab of _tabs">
<tab-header [tab]="tab" [showIcon]="options.showIcon" (onSelectTab)='selectTab($event)' (onCloseTab)='closeTab($event)'> </tab-header>
</div>