If we talk about opeing accordion items by keyboard keys, using key "Tab" + "Enter" you can open / close them. I tested that 60sec ago, and that worked.
Items have also aria-controls
, aria-expanded
, aria-labelledby
tags.
And it works like in shared link from my post.
About using ArrowUp / ArrowDown there is a potential conflict when you use them to move focus between accordion headers, because these keys are normally used to scroll the whole page vertically.
OR do you have a different question ?? if yes, I need more technical details, and correct example.