Skip to content

Conversation

carylwyatt
Copy link
Member

@carylwyatt carylwyatt commented May 9, 2025

I don't always keyboard test things, and I should! I stumbled across our skip links while tabbing around, and realized the background of the box is the wrong color thanks to a bootstrap update.
image

Changing the class from alert-dark to alert-secondary fixes the issue for the skip links and for the AUP banner (which, theoretically, doesn't exist in the front-end anymore). I also removed a useless alert-dark class from the cookie banner.

See it in action on dev-3: https://dev-3.babel.hathitrust.org/cgi/pt?id=nyp.33433045482829&seq=7
Tab through the page until you see the skip links with the correct light-gray background.

@carylwyatt carylwyatt requested a review from liseli May 9, 2025 19:55
Copy link

@liseli liseli left a comment

Choose a reason for hiding this comment

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

I've reviewed this PR and the change makes sense to me!

@carylwyatt carylwyatt merged commit 940af85 into main May 12, 2025
6 checks passed
@carylwyatt carylwyatt deleted the fix-dark-color branch May 12, 2025 17:44
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