UI/UX Bug: Sidebar topics cannot be collapsed after expanding

On the Exercism Docs site, the left-hand sidebar has expandable topics.
When I click the + icon, the section expands correctly.
However, once expanded, there is no way to collapse (minimize) it again.

Steps to reproduce:

  1. Go to: Practice Exercises | Exercism's Docs
  2. On the left-hand sidebar, click the + next to a section to expand it.
  3. Try to collapse it again.

Expected behavior:
Clicking the + (or -) should toggle between expand and collapse.

Actual behavior:
Once expanded, the section stays open and cannot be collapsed.

Environment:

  • Browser: Chrome 139
  • OS: Windows 10

By the looks of it, I’m not sure the + and - are actually meant to expand and collapse the submenus. They are part of the same link as the text to their left, so clicking anywhere between the text and the symbol expands the menu. To collapse an expanded menu, you need to click on a different link.

So I don’t think this is a bug. It’s just set up in a way that can be confusing for the user.

1 Like