Don't Drop Focus When the Button Disappears
Click "Show all" on a collapsed block and the button unmounts, taking keyboard focus with it: the next Tab starts from the top of the page. `useCollapsible` moves focus to whatever replaced the button.
When a focused element is removed from the page, the browser moves
focus to <body>. A mouse user never notices. A keyboard or screen
reader user is thrown back to the start of the page, a few hundred
Tabs away from the code they just opened. The fix is to move focus
yourself after the toggle, but only after this toggle: expanding
from anywhere else (an "Expand all" control) shouldn't steal focus
from where the user is.
The content gets tabIndex={-1}: focusable from code, but not an
extra Tab stop. Landing on it on expand puts the reader at the top of
what they asked to see, and collapsing returns them to "Show all".