Live data from Hacker News

Just let me select text

aartaka.me

181–190 of 621 posts

Re: Just let me select text

#181
post #176

Earlier quoted context omitted.

I just tried this with every major OS and browser. I don't think it is possible. You can highlight the buttons (most times) in Safari on MacOS, but you can't select the text and copy it or translate it.

You can copy Text in some browsers, but not when it's in .

Yeah, in HN's case:

    

Re: Just let me select text

#183

Earlier quoted context omitted.

I can select the word "Reply" with no issues

Inside the button? Not the link? What OS/Browser?

Sorry, you're correct. It was the link not the button. My brain gets confused talking to people using technical words correctly instead of normies that call the link a button

Re: Just let me select text

#184
post #76

As a web dev, I fully agree with this, but with a huge exception: clickable text. Anything that is meant to be read as content should absolutely, without fail, be selectable and copyable (assuming appropriate permissions). But stuff like tab headers, buttons, or even text-sparse tiles - things meant for the user to click on - can, and usually should , prevent text selection. It is super annoying to be clicking back a…

Real-world example I use nearly daily: Selecting the nav header that's the ticket number in our ticketing system. I copy-paste the number elsewhere. Of course there are many other bad design decisions that go into requiring me to do this, but it's still a real example of why all text should be selectable.

Something I absolutely loved while working at Meta was that basically every internal system has some kind of ticket ID, and more importantly, wherever it's displayed near the top of the page you very likely can click-to-copy it. And the click-to-copy gives you a rich version of the ticket ID that you could paste into Google Docs and have the link to the ticket page embedded already. Really small feature that improved the life of engineers a lot considering how much you're copy/pasting IDs around. It's the type of UX care that I expect ServiceNow type third party systems will never have.

Re: Just let me select text

#185
post #167

Earlier quoted context omitted.

macOS Safari

Yeah, I just tried to select text in the button element and translate it specifically or copy it, and it doesn't work. You can highlight it, but you aren't selecting the text. This is what is copied from the login page, you can see that the button text is missing: Login username: password: Forgot your password? Create Account username: password:

My fault, I didn't try to copy! I can still select, but sorry for not checking if copy is possible! From your other reply I noticed this!

But yeah, HN isn't the best in this regard :)

Maybe dang will one day consider changing to reply!

Re: Just let me select text

#186

Earlier quoted context omitted.

A case can be made for graphic like elements like buttons, but for text: treat it like text even if it's clickable. In the Web version of Outlook, there are regularly times where the location of an appointment is a street address. That text is typically clickable. But the click action doesn't correspond to the choice of mapping service I might want to use in any one instance or to the fact that I might have other act…

The point isn't that the developer should disable text selection whenever he thinks it's unnecessary, which would indeed be silly. It's that sometimes the user interface rules for navigating selectable text conflict or interfere with the user interface rules for navigating, say, a set of tab panes. In that situation, making the tab titles selectable will cause grief. I agree with your address example. That is user da…

I appreciate your understanding!

Re: Just let me select text

#187
post #180

Earlier quoted context omitted.

[flagged]

You provided an example with anchors. In your original post you say "But stuff like tab headers, buttons, or even text-sparse tiles - things meant for the user to click on - can, and usually should, prevent text selection" and you explicitly mention that you leave out anchors. So far no reply to me has talked about problems causing by having selectable "tab headers, buttons, or even text-sparse tiles". I am still 100…

[flagged]

Re: Just let me select text

#188

As a web dev, I fully agree with this, but with a huge exception: clickable text. Anything that is meant to be read as content should absolutely, without fail, be selectable and copyable (assuming appropriate permissions). But stuff like tab headers, buttons, or even text-sparse tiles - things meant for the user to click on - can, and usually should , prevent text selection. It is super annoying to be clicking back a…

Do you know how many times i wanted to select the clickable link in google search result?

Re: Just let me select text

#189
post #160

Earlier quoted context omitted.

Would you say any of these are "not that onerous" compared to copying the character? The argument here isn't that it's _impossible_ to do that with copying disabled, it's that it's _more annoying_. By providing a list of _more annoying_ ways to do something, you're reinforcing the argument, not refuting it.

yes it's absolutely just as easy to screenshot something to my clipboard and paste it, as to try and select text from a button without clicking it. yes it's absolutely just as easy to point my phone's translate app at the button. any more questions?

We seem to have very different concepts of either what is "easy" or fine motor skills.

I also find it rather difficult to point my phone at itself when trying to translate a word it's currently displaying; but maybe that's also a skill issue.

Re: Just let me select text

#190
The most recent offender I’ve encountered is some SaaS called Termly which barfs out full terms of service, privacy policies, etc. with this human-hostile “feature”. Good luck actually using the contact information they contain.

I added this uBO filter just yesterday:

    app.termly.io##*:style(user-select: unset !important;)
Of course all the links are `target=_blank` too. I really don’t understand the mentality of whomever makes these.
Post reply on HN