When we use Details, I currently always open just the 1st one.
However, my users might want it differently.
I’m toying with the idea of putting a lock/unlock icon in the summary. That works, but click on the lock also toggles the Details open/close. Is there any way to prevent the click from propagating?
We have decided against lock/unlock buttons, but I’m curious:
It is a <vaadin-details-summary … role=“button”>
Where does it actually state that an <xxx … role=“button”> can’t contain <yyy … role=“button”> ?
But that is for <button>, not <xxx … role=“button”>
I can see the “walks like a duck, quacks like a duck” logic, and that maybe it can cause accessibility issues, but I’m still not convinced that it isn’t valid html.