Skip to content

Fix Exposed Accessibility Skip Link due to CSS Syntax Error#356

Merged
PatelHarsh2006 merged 18 commits into
PatelHarsh2006:mainfrom
Divyanshu227:main
May 30, 2026
Merged

Fix Exposed Accessibility Skip Link due to CSS Syntax Error#356
PatelHarsh2006 merged 18 commits into
PatelHarsh2006:mainfrom
Divyanshu227:main

Conversation

@Divyanshu227
Copy link
Copy Markdown
Contributor

issuenum: #292

Description
This PR resolves a visual issue on orders.html and cart.html where the "Skip to main content" accessibility link was persistently visible as unstyled black text on a white background above the header.

Root Cause
In css/style.css (line 2234), the closing curly brace (}) for the style rule ::-webkit-scrollbar-thumb:hover was missing. Because of this syntax error, the browser's CSS parser failed to process the subsequent .skip-link styles correctly, leaving the accessibility skip link unstyled and visible by default at the top of the viewport.

Proposed Changes
Stylesheet Fix (css/style.css)
Added the missing closing curly brace } to seal the ::-webkit-scrollbar-thumb:hover styling rule.
This successfully enables the browser to parse and apply the .skip-link absolute positioning rule (top: -40px;), hiding it off-screen on initial page load as intended.

/gssoc26

@PatelHarsh2006
Copy link
Copy Markdown
Owner

@Divyanshu227 Resolve conflicts by Syncing the Respective Branch

@PatelHarsh2006 PatelHarsh2006 merged commit 123e6d4 into PatelHarsh2006:main May 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants