influxdata / influxdata/clockface

Stop setting "user-select: none"

Open
#726 0 comments 0 reactions 2 assignees View on GitHub

@brandenTenbrink is already working on this.

Since Aug 5, 2022.

kind/accessibility kind/bug Medium Priority
Dominant language
TypeScript
Stars
46
Forks
18
Avg merge
2d 7h
Merged PRs (30d)
1

Description

**Describe the bug**

There are a number of [places where we set `user-select: none;`](https://github.com/influxdata/clockface/search?q=%22user.select%22), which [disables text selection](https://developer.mozilla.org/en-US/docs/Web/CSS/user-select). This prevents a user from selecting text and (most importantly) copying the text. The inability to copy data leads to a very annoying user experience where the user must manually transcribe data from the UI.

It's not clear that there's any benefit to disabling user text selection and the inability to select text is unexpected behavior so this is a proposal to remove all `user-select: none;` attributes.

**Expected behavior**

As a user, I expect to be able to select and copy any text that is displayed in the UI.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.