[BITV] "aria-labelledby" references an invalid element if there is a single tab #3032
Labels
3. to review
Waiting for reviews
accessibility
Making sure we design for the widest range of people possible, including those who have disabilities
bug
Something isn't working
feature: app-sidebar
Related to the app-sidebar component
The
aria-labelledby
attribute must point to an element in the same document. In theAppSidebarTab
it references its tab header, but when there is a single tab the tab headers are removed. Therefore, in that case thearia-labelledby
should be replaced byaria-label
with the tab name, which probably would require passinghasMultipleTabs
(or something equivalent) toAppSidebarTab
(which I do not know how to do :-) ) to set one or the other.The text was updated successfully, but these errors were encountered: