Skip to content

refactor(tabs): use siTooltip instead of title#1425

Open
dauriamarco wants to merge 1 commit into
mainfrom
feat/tooltip-tabs
Open

refactor(tabs): use siTooltip instead of title#1425
dauriamarco wants to merge 1 commit into
mainfrom
feat/tooltip-tabs

Conversation

@dauriamarco

Copy link
Copy Markdown
Member

Adds tooltip support to tabs.


@dauriamarco dauriamarco added this to the 49.x milestone Feb 3, 2026
@dauriamarco dauriamarco self-assigned this Feb 3, 2026
@dauriamarco dauriamarco requested review from a team as code owners February 3, 2026 11:16

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request aims to add tooltip support to tabs. However, the current change in si-tab.component.html removes the existing title attribute, which provides the native browser tooltip, and replaces it with aria-label. While this improves accessibility for screen reader users, it's a regression for mouse users who rely on tooltips for icon-only tabs. My review includes a suggestion to re-introduce the title attribute alongside aria-label to support both use cases.

Comment thread projects/element-ng/tabs/si-tab.component.html
@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown

Comment thread projects/element-ng/tabs/si-tab.component.html
@dauriamarco dauriamarco changed the title feat(tabs): add tooltip support refactor(tabs): use siTooltip instead of title Feb 3, 2026
Comment thread projects/element-ng/tabs/si-tab.component.html
@dauriamarco dauriamarco force-pushed the feat/tooltip-tabs branch 3 times, most recently from fb4c07c to 04bc578 Compare February 5, 2026 18:22
Comment thread src/app/examples/si-tabs/si-tabs-routing.html Outdated
@dauriamarco dauriamarco force-pushed the feat/tooltip-tabs branch 2 times, most recently from 0ddfed7 to 292e6bb Compare February 6, 2026 16:16
@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown

Code Coverage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants