Before expanding "Show details," some interactive elements that are visually hidden immediately after it can still receive keyboard focus, leading to confusion for keyboard and screen reader users.
Recommendation: Ensure visually hidden elements are also removed from the keyboard tab order, for example by using display: none instead of just visually hiding them.