Definitely, the correlation between jQuery/Javascript event names and CSS class names is completely up to the developer's discretion. It is important to note that these two aspects are not inherently connected until a developer intentionally links them together (or if using a framework where classes are typically prefixed).
Considering this, it might be beneficial to steer clear of using generic 'event-centric' class names in CSS. CSS, after all, focuses on styling elements rather than events. If you need to identify clickable elements, a better approach could be to assign them a custom attribute like data-clickable='true'
and adjust your selector to target those specific elements with $('[data-clickable=true]')
. This way, you uphold the separation between style (CSS), content (HTML), and function (JS) which is widely considered as best practice. However, returning to your original question, the manner in which you inquire about this relationship may not have a significant impact.