Skip to content

Comments

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

Open
liuliu-dev wants to merge 22 commits intomainfrom
liuliu/add-keyboard-accessible-tooltip-for-actionlist
Open

Add keyboard-accessible tooltip for truncated ActionList.Description#7529
liuliu-dev wants to merge 22 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: 2bffa4e

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.

@github-actions github-actions bot requested a deployment to storybook-preview-7529 February 25, 2026 00:02 Abandoned
@primer
Copy link
Contributor

primer bot commented Feb 25, 2026

🤖 Lint issues have been automatically fixed and committed to this PR.

@liuliu-dev liuliu-dev force-pushed the liuliu/add-keyboard-accessible-tooltip-for-actionlist branch from 3b5770b to 8afa73c Compare February 25, 2026 00:27
@github-actions github-actions bot temporarily deployed to storybook-preview-7529 February 25, 2026 00:37 Inactive
@primer-integration
Copy link

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

@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