Skip to content

Commit

Permalink
fix(atomic): add tooltip to insight tabs (#4596)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegron authored Nov 1, 2024
1 parent 94c445f commit 2b7404f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/atomic/src/components/common/tabs/tab-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export class TabBar {
style="text-transparent"
class="truncate rounded px-4 py-2 font-semibold"
ariaLabel={tab.label}
title={tab.label}
onClick={() => {
tab.select();
this.tabPopover?.togglePopover();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export class AtomicInsightTab
part="tab"
class={buttonClasses.join(' ')}
ariaLabel={this.bindings.i18n.t('tab-search', {label: this.label})}
title={this.label}
ariaPressed={`${this.tabState.isActive}`}
onClick={() => this.tab.select()}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export class AtomicIPXTab implements InitializableComponent {
part="tab"
class={buttonClasses.join(' ')}
ariaLabel={this.bindings.i18n.t('tab-search', {label: this.label})}
title={this.label}
ariaPressed={`${this.tabState.isActive}`}
onClick={() => this.tab.select()}
>
Expand Down

0 comments on commit 2b7404f

Please sign in to comment.