Discoverable menu button and visible page titles #290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "menu-and-headers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
scrollIntoView({block: "nearest"})does nothing once any part of the element is on screen. The section now aligns the clipped edge and cards carryscroll-margin.Why
Direct user feedback: nobody recognized the centered wordmark as the menu - the coach-mark explaining it was the symptom, not the fix - and persistent chrome over the reading column costs the most on a phone. The design follows NN/g findings (centered logos, hidden desktop navigation, labeled menu buttons) and NLDD's own idioms: the menu affordance is literally the word "Menu" with the
menuicon, the gutters are NLDD's page-section tokens, and the brand type rides NLDD's display scale.Verification
Follow-ups
Closes #230.
The centered wordmark was the only menu trigger and nobody recognized it as one - a coach-mark existed just to explain it. - The wordmark sits left as a home link ("Waggle, naar de inbox"); next to it a labeled Menu button (nldd-button lg, popup slot, no chevron) owns the dropdown: anchoring, toggling and ARIA come from NLDD instead of hand-written wiring. - Menu navigation items are real links: plain click routes through the SPA, cmd/ctrl-click opens a new tab, Space activates like Enter. The overview pages sit under an "Overzichten" group label. - Inbox, Leeslijst and Instellingen get a visible h1. Page titles are nldd-title size 3 app-wide (section h2s stay 4), aligned to their content columns across breakpoints; Settings mirrors the section padding via a container query. - document.title follows the route ("Inbox - Waggle") via route meta and one afterEach; AccountVerwijderd drops its hand-rolled title. - The inbox tour starts at the sections step: a button that says "Menu" needs no coach-mark. - E2e: a header spec (SPA marker, new-tab modifier click, headings, tab titles) and the landmarks scan now enforces page-has-heading-one on all nine routes. Closes #230.85a8f7f03d7d89ca4acb7d89ca4acba8f3c2a88ca8f3c2a88c43e3beb62543e3beb625225d337be5225d337be524c29c1bfa24c29c1bfa50b86968a150b86968a1578900f0f5578900f0f5b85dd69855b85dd698554a6912d2884a6912d2889051ef58ce9051ef58ce9b2cbd2f549b2cbd2f54d52076bad2d52076bad2f45f7f6bd0