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 accessibility] severity 4 Issues #1352

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Conversation

jpg619
Copy link
Contributor

@jpg619 jpg619 commented Oct 31, 2024

WHAT

This pull request includes a few changes to the src/components/site-title.js and src/layout.js files to improve the layout and structure of the components.

Layout improvements:

  • src/layout.js: Reordered the TableOfContents.Desktop component to be placed after the Container component and removed the flexDirection: 'row-reverse' style. [1] [2]

Code cleanup:

BEFORE & AFTER

image image

@@ -60,6 +58,7 @@ const DefaultLayout = ({children}) => {
{children}
<PageFooter />
</Container>
<TableOfContents.Desktop />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

keyboard focus order from left to right

@jpg619 jpg619 marked this pull request as ready for review November 6, 2024 15:38
@wraithgar wraithgar merged commit 5ea4069 into main Nov 6, 2024
9 checks passed
@wraithgar wraithgar deleted the jpg619/fix-accessibility-sev4 branch November 6, 2024 16:57
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