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

fix for homepage link #111

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

Charlesthebird
Copy link
Collaborator

No description provided.

Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
@Charlesthebird
Copy link
Collaborator Author

/skip-changelog

@Charlesthebird Charlesthebird marked this pull request as ready for review November 11, 2024 19:31
<Button style={{ width: "150px", marginTop: "10px" }}>
<NavLink to="/apis" onClick={onApisPageClick}>
<Button
tabIndex={0}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tabIndex=0 causes the button to not get focused by keyboard input (when tabbing through the page).

I added this since the link gets focused, and this is nested, so if it's not there it's a strange keyboard navigation experience.

@Charlesthebird Charlesthebird merged commit a16060b into main Nov 11, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants