We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 608a2a8 commit 0d19f99Copy full SHA for 0d19f99
core/pfe-core/controllers/tabs-aria-controller.ts
@@ -73,9 +73,7 @@ export class TabsAriaController<
73
74
hostUpdated() {
75
for (const [tab, panel] of this.#tabPanelMap) {
76
- if (!panel.hasAttribute('aria-labelledby')) {
77
- panel.setAttribute('aria-labelledby', tab.id);
78
- }
+ panel.setAttribute('aria-labelledby', tab.id);
79
tab.setAttribute('aria-controls', panel.id);
80
}
81
0 commit comments