Open steveareeno opened 3 years ago
Hi, @steveareeno! We can’t reproduce the issue now to check if it has been fixed or not. If you still can, please do it at https://stackblitz.com/edit/angular-ivy-de1elj?file=tsconfig.json/ and share with us, or please add a recorded video.
hey can some tell the solution for the above code i have accessibility problem for roles to tabset tab
I'm running into the same issue with Angular 18.2.5 and ngx-bootstrap 18.0.2. The Stackblitz provided by @apotapcukv has become outdated so I have created this Stackblitz on Angular 18, and here is a screengrab from running Lighthouse on it. Seems when the ul element has role=tablist it is no longer regarded as valid parent of li element.
Tabset accessibility
Google lighthouse is complaining that a list item
<li>
must be contained in a list<ul>
when it is scanning for accessibility. I checked the html in the console and there is a<ul>
tag so I am not sure why lighthouse is not seeing it. Any advice? below is the html for the tabset: