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

Card: Improve accessibility by moving overlay slot outside of <a> tag #766

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

ymouzakis
Copy link
Contributor

@ymouzakis ymouzakis commented Jun 12, 2024

This change: (check at least one)

  • Adds a new feature
  • Fixes a bug
  • Improves maintainability
  • Improves documentation
  • Is a release activity

Is this a breaking change? (check one)

  • Yes
  • No

Is the: (complete all)

  • Title of this pull request clear, concise, and indicative of the issue number it addresses, if any?
  • Test suite(s) passing?
  • Code coverage maximal?
  • Changeset added?
  • Component status page up to date?

What does this change address?
Fixes a problem where the button inside of the overlay slot would not be picked up by the browser when tabbing through clickable elements. I believe this is because the button within the overlay was slotted inside of an anchor tag

How does this change work?
Move overlay slot outside of the link tag

Additional context
Add any other context here.

@ymouzakis ymouzakis requested a review from a team as a code owner June 12, 2024 17:50
@ymouzakis ymouzakis requested review from sirrah-tam, jialin-he and mtorres3 and removed request for a team June 12, 2024 17:50
Copy link

changeset-bot bot commented Jun 12, 2024

🦋 Changeset detected

Latest commit: f5b49e3

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

This PR includes changesets to release 1 package
Name Type
@ithaka/pharos 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

Copy link
Contributor

github-actions bot commented Jun 12, 2024

size-limit report 📦

Path Size
packages/pharos/lib/index.js 64.44 KB (-0.06% 🔽)

@daneah
Copy link
Member

daneah commented Jun 13, 2024

@ymouzakis can you please update the PR description? Some information is missing and it seems like your commit message may have been truncated at the top there.

@satya-achanta-venkata satya-achanta-venkata merged commit 21ed861 into develop Jun 17, 2024
7 checks passed
@satya-achanta-venkata satya-achanta-venkata deleted the bugfix/card-accessibility branch June 17, 2024 14:13
@github-actions github-actions bot mentioned this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants