Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23980 closed defect (bug) (invalid)

Title placeholder text disappears when post format is switched

Reported by: mark-k's profile mark-k Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: Post Formats Keywords:
Focuses: Cc:

Description

Title text box has a place holder text that disappears when you focus on it. If you change the post format to something like quote while still being focused on the title box, you suddenly see several text boxes which are labeled, but the box you are focused on is not labeled and you are not sure what is that box for, is it still the title or something specific for the post format.

I suggest to use place holder everywhere.

(sorry for the hebrew ui screenshot, but it is clear enough IMO)

Attachments (1)

titlebug.png (21.0 KB) - added by mark-k 11 years ago.

Download all attachments as: .zip

Change History (10)

@mark-k
11 years ago

#1 follow-up: @azaozz
11 years ago

Related: #23938. Don't see how using placeholders instead of labels would make this better. Seems we will have to add/show a label on the title field too in this case.

#2 in reply to: ↑ 1 ; follow-up: @mark-k
11 years ago

Replying to azaozz:

Related: #23938. Don't see how using placeholders instead of labels would make this better. Seems we will have to add/show a label on the title field too in this case.

Guess this is subjective - I like placeholders more then labels. Another option that might have been discussed is to wrap the format related fields in a box of their own, making the title text box to stand out as something that do not belong to it.

#3 in reply to: ↑ 2 @aniketpant
11 years ago

  • Cc me@… added

Replying to mark-k:

Replying to azaozz:

Related: #23938. Don't see how using placeholders instead of labels would make this better. Seems we will have to add/show a label on the title field too in this case.

Guess this is subjective - I like placeholders more then labels. Another option that might have been discussed is to wrap the format related fields in a box of their own, making the title text box to stand out as something that do not belong to it.

Placeholders pose a very big problem to any interface. Placeholder text disappears the moment I start typing in the box. And if someone spaces out that time, which happens quite often with a lot of people, they won't know what they were doing. Instead, a combination of label and placeholder will be great as the placeholder text can server as a help text and the label will be there throughout.

#4 follow-ups: @helen
11 years ago

Why is the "Enter title here" placeholder text disappearing when the format is switched? It's not an HTML5 placeholder and does not disappear when focused normally (like on page load), so it shouldn't disappear on post format switch, either.

#5 in reply to: ↑ 4 @aniketpant
11 years ago

Replying to helen:

Why is the "Enter title here" placeholder text disappearing when the format is switched? It's not an HTML5 placeholder and does not disappear when focused normally (like on page load), so it shouldn't disappear on post format switch, either.

It doesn't change on switch, but it goes away on focus. It seems like I got confused before.
I was thinking that the ticket was about placeholder and label in any post creation scenario whereas it is specific to the case when post formats are being switched.

Should I make the point I mentioned above regarding accessibility on a separate ticket?

#6 in reply to: ↑ 4 @mark-k
11 years ago

Replying to helen:

Why is the "Enter title here" placeholder text disappearing when the format is switched? It's not an HTML5 placeholder and does not disappear when focused normally (like on page load), so it shouldn't disappear on post format switch, either.

It is not disappearing, it is just that when you are already focused on it and then switch format the whole GUI changes and I wasn't sure what exactly the field I was focused at do in the new format. Maybe I know too much about post formats and know that you don't have to have a title and that was the source of my confusion.

#7 @helen
11 years ago

  • Summary changed from place holder vs labels is confusing in post formated post creation to Title placeholder text disappears when post format is switched

The placeholder text (which is not an HTML5 placeholder, as I noted) does not disappear on focus when the page first loads. It disappears after you type something. This behavior should be retained even after switching formats - placeholder text should remain, focus or no, until something is typed in the field.

#8 @SergeyBiryukov
11 years ago

#24042 was marked as a duplicate.

#9 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.