Skip to content

Add keyboard-accessible tooltip for truncated ActionList.Description#7529

Draft
liuliu-dev wants to merge 8 commits intomainfrom
liuliu/add-keyboard-accessible-tooltip-for-actionlist
Draft

Add keyboard-accessible tooltip for truncated ActionList.Description#7529
liuliu-dev wants to merge 8 commits intomainfrom
liuliu/add-keyboard-accessible-tooltip-for-actionlist

Conversation

@liuliu-dev
Copy link
Contributor

Related issue https://github.com/github/accessibility-audits/issues/14802

Changelog

When ActionList.Description is rendered with truncate, the full text was only visible via a native title attribute — which only appears on mouse hover, not keyboard focus (WCAG SC 2.1.1).

This PR adds a Primer <Tooltip> at the ActionList.Item level that shows the full description text on both hover and keyboard focus when the description is actually truncated.

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

@changeset-bot
Copy link

changeset-bot bot commented Feb 12, 2026

🦋 Changeset detected

Latest commit: 5b4e4ff

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Feb 12, 2026
@github-actions
Copy link
Contributor

👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Or, apply the integration-tests: skipped manually label to skip these checks.

@primer-integration
Copy link

👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/14088

@primer-integration
Copy link

Integration test results from github/github-ui:

Passed  CI   Passed
Passed  VRT   Passed
Passed  Projects   Passed

All checks passed!

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

Labels

integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments