File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,6 @@ export class UUITabGroupElement extends LitElement {
7777 demandCustomElement ( this , 'uui-popover-container' ) ;
7878 demandCustomElement ( this , 'uui-symbol-more' ) ;
7979
80- if ( ! this . hasAttribute ( 'role' ) ) this . setAttribute ( 'role' , 'tablist' ) ;
81-
8280 await this . updateComplete ;
8381 this . #resizeObserver. observe ( this . _mainElement ) ;
8482 }
@@ -268,7 +266,7 @@ export class UUITabGroupElement extends LitElement {
268266 render ( ) {
269267 return html `
270268 <div id= "main" >
271- <div id= "grid" >
269+ <div id= "grid" role = "tablist" >
272270 <slot @slotchange = ${ this . #onSlotChange} > </ slot>
273271 </ div>
274272 <uui- butto n
@@ -284,7 +282,7 @@ export class UUITabGroupElement extends LitElement {
284282 id= "popover-container"
285283 popover
286284 placement = "bottom-end" >
287- <div id= "hidden-tabs-container" >
285+ <div id= "hidden-tabs-container" role = "tablist" >
288286 ${ repeat ( this . #hiddenTabElements, el => html `${ el } ` ) }
289287 </ div>
290288 </ uui- popover- container>
You can’t perform that action at this time.
0 commit comments