You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Tooltips] Remove or replace title HTML attribute #9566
The purpose of this task is to remove or replace the title HTML attribute usage in our repository and flag all the places in Kibana that need updating / update them.
Requires audit in EUI and Kibana That audit can happen on the task.
title={accessibleTitle} inside <svg>, correct pattern, must not be changed
EuiToken
token/token.tsx:115
title={title} passed to EuiIcon → becomes SVG title
5. Edge cases
time_window_buttons.tsx:160,176,195,214 - title="" on buttons. Intentionally empty to suppress browser tooltips on elements that already have visual labels. Investigate before touching.
Kibana
Searches run across src/, x-pack/platform/plugins/, x-pack/solutions/, excluding test/story files.
<span title={typeof children === 'string' ? children : undefined}>
Platform UI package; conditional logic, type guard needed
EUI component usages with title that pass to DOM
EuiIcon with title (~15 instances)
EuiIcon puts title inside the SVG <title> element. Correct for accessibility (names the icon for screen readers). Most Kibana usages are correct and should be left alone.
Exceptions that should become EuiIconTip:
File
Usage
Reason
cases/.../template_form.tsx:119
<EuiIcon type="check" title="Template saved">
Standalone info icon used as visible status indicator — use EuiIconTip
Info icon conveying contextual message — use EuiIconTip
Keep (SVG accessibility title, correct):
status_table.tsx, workflows_management.tsx (×2), vega/add_vega_panel_action.tsx, kbn-apm-ui-shared/span_icon, kbn-custom-icons/agent_icon, saved_objects_tagging/result_list.tsx, cases/solution_filter.tsx, lens/layer_actions.tsx, search_getting_started/agent_install.tsx, search/connector_icon.tsx, observability/key_value_filter_list. Title provides screen reader label for the icon, not a hover tooltip.
home/synopsis.tsx:41, kibana_overview/synopsis.tsx:46 — title="" intentionally marks icons as decorative. Keep.
EuiText / EuiTextColor with title (~10 instances)
EuiText renders a <div> (or <p>, <span>) and passes unknown props to the DOM, so title becomes a browser tooltip.
All instances are truncation + tooltip patterns. Replace: add EuiToolTip wrapping the EuiText content instead of using title.
File
Count
alerting_v2/.../episode_assignee_cell.tsx
3
fleet/.../uninstall_token_list_page/index.tsx
1
fleet/.../agent_policy_summary_line.tsx
1
security/.../resolution_group_table.tsx
2
security/.../add_entities_section.tsx
2
spaces/.../space_card.tsx
1
EuiLink with title (~4 instances)
EuiLink renders an <a> tag and passes title to the DOM. All are truncation workarounds — replace with EuiTextTruncate inside the link or wrap with EuiToolTip.
Activity
weronikaolejniczak commentedon May 5, 2026
Title attribute audit
Tracks all
titleHTML attribute usages across EUI and Kibana that should be replaced withEuiToolTip.Partially covered for
EuiButtonIcon(82 Kibana instances) in Usage analysis.EUI
All usages found with grep across
packages/eui/src/components/**/*.tsx, excluding test/story files.1. Truncated text fallback
titleset to the full text so browsers show it natively when content is clipped.Long-term fix: replace with
EuiToolTipinternally.EuiBadgebadge/badge.tsx:332–388title={innerText}on span/button/anchor — 4 variantsEuiButtonGroupButtonbutton/button_group/button_group_button.tsx:147title={innerText}onEuiButtonDisplayEuiComboBoxPillcombo_box/combo_box_input/combo_box_pill.tsx:82,99title={children}onEuiBadgeEuiComboBoxOptionsListcombo_box/combo_box_options_list/combo_box_options_list.tsx:219title={label}on<li>EuiFacetButtonfacet/facet_button.tsx:132title={aria-label || innerText}EuiFilterButtonfilter_group/filter_button.tsx:232title={dataText}on<span>EuiInlineEditForminline_edit/inline_edit_form.tsx:375title={value}on display elementEuiListGroupItemlist_group/list_group_item.tsx:257title={label || innerText}on<span>EuiRangeTicksform/range/range_ticks.tsx:146title={label || innerText}on tick<span>EuiSelectableListselectable/selectable_list/selectable_list.tsx:475title={label}on<li>EuiSideNavItemside_nav/side_nav_item.tsx:271title={innerText}(only whentruncate)EuiTableHeaderCelltable/table_header_cell.tsx:146title={desc || innerText}on<span>EuiTextTruncatetext_truncate/text_truncate.tsx:224title={text}(only whenisTruncating)EuiDataGridHeaderCelldatagrid/body/header/data_grid_header_cell.tsx:148,168title={title}on header cellEuiDataGridCellActionsdatagrid/body/cell/data_grid_cell_actions.tsx:65title={expandButtonTitle}on expand button2. Disabled state tooltip (anti-pattern)
titleused to surface a tooltip on a disabled element, exactly the pattern we tell consumers not to use. These are the highest priority fixes in EUI.EuiBasicTable(default action)basic_table/default_item_action.tsx:93title={!enabled ? tooltipContent : undefined}EuiBasicTable(collapsed actions)basic_table/collapsed_item_actions.tsx:141title={actionsDisabled ? label : undefined}Fix: wrap the action element with
EuiToolTipand usearia-disabledinstead ofdisabled.3. Button/action label duplication
titlemirrors anaria-labelor accessible text already present. Generally redundant; some should becomeEuiToolTip, others can just be removed.EuiAvataravatar/avatar.tsx:210title={name}on root<div>EuiBadge(icon click)badge/badge.tsx:275title={iconOnClickAriaLabel}on icon buttonEuiBetaBadgebadge/beta_badge/beta_badge.tsx:204,216,231,256title={label || title}on button/anchor/spanEuiBreadcrumbbreadcrumbs/breadcrumb.tsx:66title={ariaLabel}EuiBreadcrumbContentbreadcrumbs/_breadcrumb_content.tsx:206title={title}onEuiLinkEuiAutoRefreshdate_picker/auto_refresh/auto_refresh.tsx:148title={label}on toggle buttonEuiAbsoluteTabdate_picker/.../absolute_tab.tsx:236title={submitButtonLabel}on buttonEuiDatePopoverButtondate_picker/.../date_popover_button.tsx:129title={title}on buttonEuiKeyPadMenuItemkey_pad_menu/key_pad_menu_item.tsx:322title={betaBadgeLabel}on itemEuiFieldPassword(toggle)form/field_password/field_password.tsx:138title={showPasswordLabel || maskPasswordLabel}EuiMarkdownEditorHelpButtonmarkdown_editor/markdown_editor_help_button.tsx:154title={syntaxTitle}EuiPaginationButtonArrowpagination/pagination_button_arrow.tsx:70title={labels[type]}(suppressed when disabled)EuiSearchBarsearch_bar/search_bar.tsx:300title={error.message}on search inputEuiFormform/form.tsx:108title={addressFormErrors}EuiBasicTable(checkbox)basic_table/basic_table.tsx:751,1189title={action label}on checkbox inputs4. SVG accessibility (keep)
EuiIconicon/icon.tsx:333title={accessibleTitle}inside<svg>, correct pattern, must not be changedEuiTokentoken/token.tsx:115title={title}passed toEuiIcon→ becomes SVG title5. Edge cases
time_window_buttons.tsx:160,176,195,214-title=""on buttons. Intentionally empty to suppress browser tooltips on elements that already have visual labels. Investigate before touching.Kibana
Searches run across
src/,x-pack/platform/plugins/,x-pack/solutions/, excluding test/story files.Standalone HTML element usages (~31 instances)
Breakdown by element:
<span>×19,<p>×6,<div>×4,<h4>×2.Easy - direct wrap with
EuiToolTipor migrate toEuiTextTruncate(≤30 min each)cases/public/components/truncated_text/index.tsx:28<span css={...} title={text}>EuiTextTruncatereporting/public/management/components/truncated_title.tsx:28<span css={...} title={text}>saved_objects_management/.../import_summary.tsx:327<p className="eui-textTruncate" title={title}>EuiToolTipkbn-grouping/.../accordion_panel/index.tsx:46<h4 className="eui-textTruncate" title={title}>EuiToolTipspaces/.../space_result_details.tsx:175<p className="eui-textTruncate" title={name}>EuiToolTipagent_builder/.../command_badge_text.tsx:71<span title={fullBadgeText}>EuiToolTipsecurity/.../endpoint_runscript_script_selector.tsx:117<div className="eui-textTruncate" title={endpointScript.name}>EuiToolTipsecurity/.../pending_actions_selector.tsx:196<div title={valueText}>EuiToolTipsecurity/.../custom_script_selector.tsx:215<div title={valueText}>EuiToolTipsearch_playground/.../summarization_model.tsx:74<span title={model.connectorName}>EuiToolTipMedium - table column renders or layout constraints (1–3 hrs each)
aiops/.../log_rate_analysis_results_table/use_columns.tsx:287,304<span title={fieldName}>,<span title={fieldValue}>ml/.../analytics_list/use_columns.tsx:239,251<span title={id}>,<span title={description}>ml/.../model_management/model_link.tsx:25<EuiLink title={id}>with truncation CSS<a>→ replace CSS truncation withEuiTextTruncateinside linktransform/.../transform_list/use_columns.tsx:144,245<span title={transformId}>,<span title={text}>fleet/.../agentless_table.tsx:215<span className="eui-textTruncate" title={updatedAt}>fleet/.../agent_based_table.tsx:215<span className="eui-textTruncate" title={updatedAt}>fleet/.../outputs_table/index.tsx:70,106<p title={output.name}>,<p title={host}>fleet/.../fleet_server_hosts_table/index.tsx:52,86<p title={...}>fleet/.../enrollment_token_list_page/columns.tsx:46<span className="eui-textTruncate" title={value}>triggers_actions_ui/.../rules_list_table.tsx:440<EuiLink title={name}><a>ml/.../analytics_list/use_columns.tsx:159<EuiLink title={jobId}>with truncation CSSalerting_v2/.../episode_assignee_cell.tsx:49,59,82<EuiText title={...}>(3×)<div>security/.../file_selector.tsx:135<div className="eui-textTruncate" title={selectedFileTitleTooltip}>apm/.../externals_list_contents.tsx:60,64<EuiDescriptionListTitle title={title}>,<EuiDescriptionListDescription title={desc}>security/.../host_risk_score_table/columns.tsx:91and 3 identical files<span title={riskScore}>security/.../resolution_group_table.tsx:139,174,184<EuiLink title={name}>,<EuiText title={...}>×2Complex - requires EUI fix first or class component refactor
maps/.../features_tooltip/header.tsx:64<h4 className="eui-textTruncate" title={this.state.layerName}>kbn-ui/side-navigation/src/components/secondary_menu/item.tsx:126<span title={typeof children === 'string' ? children : undefined}>EUI component usages with
titlethat pass to DOMEuiIconwithtitle(~15 instances)EuiIconputstitleinside the SVG<title>element. Correct for accessibility (names the icon for screen readers). Most Kibana usages are correct and should be left alone.Exceptions that should become
EuiIconTip:cases/.../template_form.tsx:119<EuiIcon type="check" title="Template saved">EuiIconTipapm/.../duration_distribution_chart_with_scrubber/index.tsx:136<EuiIcon type="info" title={emptySelectionText}>EuiIconTipKeep (SVG accessibility title, correct):
status_table.tsx,workflows_management.tsx(×2),vega/add_vega_panel_action.tsx,kbn-apm-ui-shared/span_icon,kbn-custom-icons/agent_icon,saved_objects_tagging/result_list.tsx,cases/solution_filter.tsx,lens/layer_actions.tsx,search_getting_started/agent_install.tsx,search/connector_icon.tsx,observability/key_value_filter_list. Title provides screen reader label for the icon, not a hover tooltip.home/synopsis.tsx:41,kibana_overview/synopsis.tsx:46—title=""intentionally marks icons as decorative. Keep.EuiText/EuiTextColorwithtitle(~10 instances)EuiTextrenders a<div>(or<p>,<span>) and passes unknown props to the DOM, sotitlebecomes a browser tooltip.All instances are truncation + tooltip patterns. Replace: add
EuiToolTipwrapping theEuiTextcontent instead of usingtitle.alerting_v2/.../episode_assignee_cell.tsxfleet/.../uninstall_token_list_page/index.tsxfleet/.../agent_policy_summary_line.tsxsecurity/.../resolution_group_table.tsxsecurity/.../add_entities_section.tsxspaces/.../space_card.tsxEuiLinkwithtitle(~4 instances)EuiLinkrenders an<a>tag and passestitleto the DOM. All are truncation workarounds — replace withEuiTextTruncateinside the link or wrap withEuiToolTip.Already listed in Medium table above.
EuiButtonIconwithtitle— 82 instancesCovered in detail in Usage analysis.md. Tracked separately via #9578.
Effort summary
default_item_action/collapsed_item_actionsAPIEuiIconexceptions →EuiIconTipEuiText/EuiLinkwithtitleEuiButtonIconwithtitlefeat(kibana-data-discovery, security-threat-hunting): replace title p…
feat(security-detection-rule-management): replace title props and wra…
feat(contextual-security-apps, fleet): replace title props and wrap E…
feat(obs-onboarding-team): replace title props and wrap EuiButtonIcon…
feat(contextual-security-apps, security-entity-analytics): replace ti…
feat(appex-sharedux, eui-team): replace title props and wrap EuiButto…
feat(contextual-security-apps, security-entity-analytics): replace ti…
feat(appex-sharedux, eui-team): replace title props and wrap EuiButto…
feat(appex-sharedux): replace title props and wrap EuiButtonIcon with…
feat(kibana-esql): replace title props and wrap EuiButtonIcon with Eu…
feat(kibana-data-discovery): replace title props and wrap EuiButtonIc…
190 remaining items
feat(actionable-obs-team): replace title props and wrap EuiButtonIcon…
feat(rna-project-team): replace title props and wrap EuiButtonIcon wi…
feat(security-defend-workflows): replace title props and wrap EuiButt…
feat(kibana-cloud-security-posture): replace title props and wrap Eui…
feat(fleet): replace title props and wrap EuiButtonIcon with EuiToolT…
feat(kibana-cases): replace title props and wrap EuiButtonIcon with E…
feat(integration-experience): replace title props and wrap EuiButtonI…
feat(obs-onboarding-team, obs-sig-events-team): replace title props a…
feat(kibana-presentation): replace title props and wrap EuiButtonIcon…
feat(workchat-eng): replace title props and wrap EuiButtonIcon with E…
feat(obs-sig-events-team): replace title props and wrap EuiButtonIcon…
feat(security-threat-hunting, security-entity-analytics): replace tit…
feat(stack-monitoring): replace title props and wrap EuiButtonIcon wi…
feat(kibana-core): replace title props and wrap EuiButtonIcon with Eu…
feat(obs-ai-team): replace title props and wrap EuiButtonIcon with Eu…