Improve keyboard focus and contrast in blog posts #10

Open
hmajid2301 wants to merge 1 commit from fix/blog-mobile-reading into main
Owner

Changes

  • Keep keyboard focus visible on contents links, scrollable code blocks, and Copy buttons.
  • Improve contrast for the active contents link and low-contrast Fireside Light code tokens.

Verification

  • Hugo 0.170 production build passed without warnings; applicable commit hooks passed.
  • Chromium checked keyboard heading navigation, horizontal code scrolling, and Copy-button focus on three posts at 320 px.
  • Sampled contents and code contrast exceeded 4.5:1 in both palettes, light and dark.

Independent of PR #9.

## Changes - Keep keyboard focus visible on contents links, scrollable code blocks, and Copy buttons. - Improve contrast for the active contents link and low-contrast Fireside Light code tokens. ## Verification - Hugo 0.170 production build passed without warnings; applicable commit hooks passed. - Chromium checked keyboard heading navigation, horizontal code scrolling, and Copy-button focus on three posts at 320 px. - Sampled contents and code contrast exceeded 4.5:1 in both palettes, light and dark. Independent of PR #9.
fix(blog): improve article keyboard focus and contrast
Some checks failed
Preview / remove (pull_request) Has been skipped
Preview / prune (pull_request) Has been skipped
Deploy / build (pull_request) Successful in 2m1s
Preview / publish (pull_request) Failing after 26m4s
b13bf51c92
Some checks failed
Preview / remove (pull_request) Has been skipped
Preview / prune (pull_request) Has been skipped
Deploy / build (pull_request) Successful in 2m1s
Preview / publish (pull_request) Failing after 26m4s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'fix/blog-mobile-reading:fix/blog-mobile-reading'
git switch 'fix/blog-mobile-reading'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'fix/blog-mobile-reading'
git switch 'fix/blog-mobile-reading'
git rebase 'main'
git switch 'main'
git merge --ff-only 'fix/blog-mobile-reading'
git switch 'fix/blog-mobile-reading'
git rebase 'main'
git switch 'main'
git merge --no-ff 'fix/blog-mobile-reading'
git switch 'main'
git merge --squash 'fix/blog-mobile-reading'
git switch 'main'
git merge --ff-only 'fix/blog-mobile-reading'
git switch 'main'
git merge 'fix/blog-mobile-reading'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
preview
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hmajid2301/blog!10
No description provided.