Use the keyboard to collapse a toggle block

This doesn’t seem to work for me… Is it supposed to?

Edit: btw, I just linked this here: