Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ability to show trailing action buttons in ActionList and NavList on hover #1873

Merged
merged 2 commits into from
Mar 9, 2023

Conversation

camertron
Copy link
Contributor

Description

This PR removes the show_on_hover: option from the trailing_action slot for NavLists and ActionLists. It has been determined this behavior is fundamentally not accessible and is potentially also confusing for people who don't use assistive technologies. See the discussion on https://github.com/github/primer/issues/1120 for more information.

Integration

Does this change require any updates to code in production?

Yes. There is currently one usage of the show on hover behavior in dotcom. Our plan is to preserve the behavior in this one case by introducing a custom item component.

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews

@changeset-bot
Copy link

changeset-bot bot commented Mar 8, 2023

🦋 Changeset detected

Latest commit: 079c55c

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

This PR includes changesets to release 1 package
Name Type
@primer/view-components 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 ruby Pull requests that update Ruby code patch release labels Mar 8, 2023
@camertron camertron temporarily deployed to preview March 8, 2023 23:01 — with GitHub Actions Inactive
@camertron camertron temporarily deployed to github-pages March 8, 2023 23:06 — with GitHub Actions Inactive
@camertron camertron marked this pull request as ready for review March 8, 2023 23:54
@camertron camertron requested review from a team and keithamus March 8, 2023 23:54
@camertron camertron merged commit 125861b into main Mar 9, 2023
@camertron camertron deleted the remove_action_list_show_on_hover branch March 9, 2023 21:24
@primer-css primer-css mentioned this pull request Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch release ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants