Closed Bug 1429392 Opened 2 years ago Closed 6 months ago

[translate] Textarea shouldn't be actionable for non-authenticated users

Categories

(Webtools :: Pontoon, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julenx, Assigned: nicole.dubin, Mentored)

Details

Attachments

(2 files)

Even if users are not signed in, the translation interface suggests to _Type translation and press Enter to save_.

Moreover, the textarea is actionable, receives focus and the cursor starts blinking, making users think they can type something — until they do and see nothing happens.

In my experience the eyes' focus goes straight to the textarea (also out of habit), so the _Sign in to translate._ banner at the bottom can easily go unnoticed. Nevertheless the messaging is inconsistent.
In order to solve these inconsistencies, I believe some changes to the textarea would suffice:

* Make the textarea readonly, and disable `focus` events entirely.
* Remove the placeholder text as it's misleading, and the banner below already indicates what to do next.
* Style the textarea a bit differently (grayed out) to indicate an uncommon status.
Priority: -- → P4
Summary: [translate] Textarea shouldn't be actionable without enough rights → [translate] Textarea shouldn't be actionable for non-authenticated users
Mentor: m

I noticed that the current version of Pontoon has the textarea as read only before login, but are the other changes (styling and removal of placeholder text) still desired?

Assignee: nobody → nicole.dubin
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.