Tabs: set TabNav key (#13178)

pull/13188/head
hetech 2018-10-26 15:09:16 +08:00 committed by GitHub
parent cf42b5444e
commit 672ff0a156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@
'is-focus': this.isFocus
}}
id={`tab-${tabName}`}
key={`tab-${tabName}`}
aria-controls={`pane-${tabName}`}
role="tab"
aria-selected={ pane.active }