interactionsRauno
Disable User Select on Interactive Elements
SHOULD
SHOULD: Set `user-select: none` on the inner content of interactive elements (buttons, tabs, menu items) so click-drag never selects their label text.
Interactive elements should disable user-select for inner content to prevent accidental text selection
button, [role="tab"] { user-select: none; }Bad
Good
Why it matters
When users click and drag on buttons, tabs, or other interactive controls, they may accidentally select the text inside. Apply user-select: none to prevent this and create a more polished interaction feel.
References