Feature request (docs): note accessibility caveats in the customisation / theming guide
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- css, html
- Domain
- accessibility, documentation
Research direction
Start with the customisation/theming guide and locate the section covering baseof.html overrides and custom CSS. Add the accessibility callout and a focused code snippet covering the skip link, main landmark, keyboard focus indicators, and heading semantics where relevant. Done means the guidance is present on the relevant customisation page and clearly warns against these regressions.
Written by the indexing model from the issue text.
Description
Prerequisites
Proposal
Add a short "keep it accessible" callout to the customisation docs, so users don't silently
regress the built-in accessibility when they override layouts or add custom CSS. Two concrete
pitfalls (both were defects in the theme before my recent PRs, so they're easy to
reintroduce):
- Overriding
baseof.html— the skip-to-content link and the<main id="main-content">
landmark live there. A custombaseof.htmlthat predates them (or is copied from an old version)
drops both. Note: keep the skip link as the first focusable element and keep the<main>wrapper. - Custom CSS that hides focus outlines — a rule like
outline: none/focus:outline-noneon
links or buttons removes the keyboard focus indicator (WCAG 2.4.7). Recommend pairing any such
reset with a:focus-visibleoutline (show a ring for keyboard focus, not on mouse click). - (Optional, if the docs cover custom block/section markup:) when restyling section titles, keep
them as headings (<h2>…) rather than styled<div>s so the heading outline stays intact.
A few sentences + a code snippet in the relevant customisation page would help.
Motivation and context
This theme is meant to be easy to customise, but it's easy to regress accessibility by doing this if not careful. A brief callout in the customisation docs would help draw attention to this.
- Dominant language
- HTML
- Stars
- 9.7k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HugoBlox/kit
-
Feature request (docs): add an "Accessibility" page documenting HugoBlox's built-in a11y features Openproposal stale
Difficulty 2/5 Half a day Newbie friendliness 72/100
-
needs triage
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
needs triage
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
proposal
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
keep
Difficulty 5/5 Over a week Newbie friendliness 10/100
Similar issues
-
accessibility angular bug good first issue typescript ux
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/fineract-backoffice-ui#584 · 1 comment ·
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
spartan-ng/spartan#1763 ·
-
Access Score Gallery Label Map
Difficulty 2/5 Half a day Newbie friendliness 68/100
ProjectSidewalk/SidewalkWebpage#5430 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100