Bounty #427: Add keyboard skip link and focus styles#562
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR adds keyboard navigation accessibility through a skip-to-content link. It introduces skip-link markup and a focus-targeted main element in the HTML template, adds corresponding CSS focus visibility and skip-link styling, and includes tests that verify both the HTML structure and CSS rules are present. ChangesKeyboard Navigation Skip-Link
🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|
Reviewed PR #562 at head Code and tests look focused, but I found one evidence/description follow-up before acceptance. Evidence checked:
Follow-up requested:
Validation run locally:
I do not see a code/test blocker in the reviewed slice; the remaining issue is the missing bounty evidence in the PR description. |
|
Review for the Bounty #219 review round. I reviewed PR #562 at head What I checked:
Validation run locally on the PR branch:
Result: no code/test blocker found in this slice. The remaining acceptance caveat is evidence quality rather than implementation correctness: because this changes keyboard-visible UI state, maintainers may still want the PR description to include before/after notes or screenshots/GIFs of the focused skip link and focus outline state before awarding Bounty #427. No secrets, wallet material, payout details, deployment values, private context, private vulnerability details, MRWK price claims, exchange claims, bridge claims, or cash-out claims were used or disclosed. |
Zejia
left a comment
There was a problem hiding this comment.
Reviewed current head ae215964b8ed4624e0fb24623a195ba3eed7f9ea.
No blocker found. The change is narrow and useful for keyboard users: base.html adds a skip link before the header, labels the primary nav, and makes <main id="content" tabindex="-1"> a real focus target. The CSS hides the skip link until focus and adds visible :focus-visible outlines for common interactive controls plus the main target.
Validation:
pytest tests/test_hub.py tests/test_public_routes.py -q-> 7 passedruff check tests/test_hub.py-> passedruff format --check tests/test_hub.py-> passedgit diff --check main...HEAD-> clean
GitHub quality checks are green on this head.
eliasx45
left a comment
There was a problem hiding this comment.
Reviewed PR #562 at head ae215964b8ed4624e0fb24623a195ba3eed7f9ea for the Bounty #427 keyboard navigation/accessibility slice.
The implementation itself looks narrow and coherent: app/templates/base.html adds the skip link before the header, labels the primary nav, and makes <main id="content" tabindex="-1"> a valid skip-link target; app/static/style.css keeps the skip link hidden until focus and adds visible :focus-visible outlines; tests/test_hub.py covers the markup and CSS markers.
Blocking acceptance issue:
- Bounty #427 explicitly asks for concise before/after notes and screenshots for visual layout changes. This PR changes keyboard-visible UI state, but the PR body still has no screenshot/GIF evidence or before/after note showing the skip link hidden normally, visible on keyboard focus, and the focus-outline treatment. Multiple prior comments requested the same evidence, and the body has not been updated.
- Because #427 is now closed/filled, the author should either add the required visual evidence to this PR body if maintainers still want to evaluate it under #427, or move/reclaim the work under the active follow-up bounty if that is the intended path.
Validation run locally on this head:
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe -m pytest tests\test_hub.py tests\test_public_routes.py -q-> 7 passedPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe -m pytest -q-> 416 passed.\.venv\Scripts\python.exe -m ruff check app tests\test_hub.py-> all checks passed.\.venv\Scripts\python.exe -m ruff format --check tests\test_hub.py-> 1 file already formattedPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe -m mypy app-> successPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .\.venv\Scripts\python.exe scripts\docs_smoke.py-> docs smoke okgit diff --check origin/main...HEAD-> clean
No code/test blocker found; requesting changes for the missing bounty-required visual evidence before acceptance.
|
Maintainer cleanup note: holding this for changes. The code slice is focused, but this visible accessibility/UX bounty still needs the requested before/after notes and screenshot or GIF evidence for the skip-link and focus states before maintainer acceptance. |
/claim #427
Bounty #427
Summary:
Evidence / distinctness:
Validation:
uv run --extra dev python -m pytest tests/test_hub.py tests/test_public_routes.py -q-> 7 passeduv run --extra dev python -m pytest -q-> 416 passeduv run --extra dev ruff check app tests/test_hub.py-> passeduv run --extra dev ruff format --check tests/test_hub.py-> passedgit diff --check-> passedSummary by CodeRabbit
New Features
Tests