atheme-legacy / iris

web irc client for the atheme platform
Other
38 stars 22 forks source link

connect.js: clarify the connect window with an abbr element about what logging into services means #49

Closed nasonfish closed 8 years ago

nasonfish commented 8 years ago

Inspired by a comment on a forum about the accessibility of IRC, it was apparent that the welcome window's "Login to Services" option could be unclear to users with little experience with IRC, and generally webchat should try to be as straightforward as possible for anyone attempting to connect, without confusing options.

This pull request adds a small <abbr> element to this label - Login to Services - which, when moused-over, gives further information about what this option actually does.

tooltip

To achieve this, the createRow function was modified to allow either an Element or string to be passed as a label, instead of just a string. This doesn't affect any previous uses of the function but allows us to pass labels such as this <abbr> one.