cds-snc / resources-ressources

Learning Resources / Ressources d'apprentissage
MIT License
3 stars 1 forks source link

Opportunity to reduce cognitive load: 'Jump to' anchor links not needed on page when empty with no H2s #251

Closed anikbrazeau closed 2 years ago

anikbrazeau commented 2 years ago

Screen Shot 2022-09-21 at 12 36 46 PM

anikbrazeau commented 2 years ago

We may also want to explore potential options and find a more elegant solution if there is just one H2? In that case, might the feature add noise and not provide much added value in jumping to content that is already top of page?

Screen Shot 2022-09-21 at 9 38 39 PM

anikbrazeau commented 2 years ago

Sometimes (SoMCs, or team rituals resources for example) the H3 is more relevant to jump between than the H2... how might we solve for that situation?

anikbrazeau commented 2 years ago

Tested on site with "Responsibilities" pages and it works! 😄 Thanks for resolving this issue 👍