Opened 9 years ago
Last modified 6 years ago
#35937 new defect (bug)
Visual improvements for the comment "pending status"
Reported by: | afercia | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | has-screenshots needs-patch |
Focuses: | ui, accessibility | Cc: |
Description
Splitting this out from #35392.
While working on #35392, noticed and agreed there's room for some visual (and further accessibility) improvements. Specifically, the comment "pending status" relies on a small "flag" icon, followed by a [Pending]
text.
From a design perspective, this could use some love. Whether it would be some additional, descriptive, text or a new icon etc. it would be possible to expand the new text or icon with some screen-reader-text
in order to provide a reasonably understandable feedback for assistive technologies users.
Worth noting this applies to the Dashboard "Recent Comments" widget and the list of comments in the Comments screen and Edit post screen as well, where the pending status information is conveyed using just color.
cc @melchoyce
Attachments (3)
Change History (24)
This ticket was mentioned in Slack in #design-dashicons by melchoyce. View the logs.
9 years ago
#2
@
8 years ago
- Keywords ui-feedback added
- Milestone changed from Awaiting Review to Future Release
This ticket was mentioned in Slack in #design by idabelida. View the logs.
8 years ago
#4
follow-ups:
↓ 6
↓ 7
@
8 years ago
My concern with the triangle icon is that it might be perceived as something is wrong or as spam (since it´s associated with danger). I suggest that we use warning icon from the notification icons: https://developer.wordpress.org/resource/dashicons/#warning.
On the other hand, do we really need this icon? This icon is not part of the list of comments in the Comments screen.
#5
@
8 years ago
Pending is like waiting, so it could be a clock icon as seen here using dashicons-clock https://developer.wordpress.org/resource/dashicons/#clock
or a hourglass http://fontawesome.io/icon/hourglass-half/
#9
in reply to:
↑ 8
@
8 years ago
Replying to melchoyce:
Replying to afercia:
Replying to idabelida:
On the other hand, do we really need this icon?
Good question :)
Do all pending comments have the orange background/border? If yes, let's just cut the icon. I'm not sure there's an appropriate one that isn't already being used for another feature in core.
I checked this out, and yes all pending comments have the orange background and border both at the dashboard and "Comments".
#10
@
8 years ago
If all do have the background I'd +1 to removing the icon. My only thought is that other apps / experiences do use a !. I noticed a few that had to sync to Cloud do, for example when that's not possible. My concern is the ! in this case would get read as a failure over a pending. So in that case removing makes a lot of sense.
#11
in reply to:
↑ 8
;
follow-up:
↓ 12
@
8 years ago
Replying to melchoyce:
Do all pending comments have the orange background/border?
The ones below the post editor don't have the border, it would be great to consider to add it for consistency and accessibility.
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
8 years ago
This ticket was mentioned in Slack in #design by karmatosed. View the logs.
7 years ago
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
7 years ago
#18
@
6 years ago
Uses :first-child:before so that it doesn't create a cell (even if absolute positioned).
Tested on Safari: http://i.imgur.com/TO5Ppuq.png
Chrome: http://i.imgur.com/CWhVzBg.png
And firefox: http://i.imgur.com/ICmrb4T.png
Mobile: http://i.imgur.com/jHes28Q.png
(couldn't test on IE sorry)
The markup between the two is different. The dashboard one uses <li> items while the "after editor" one uses table. I think this is understandable as the type of content is different, but I have the feeling that it's better to have them in the same markup, just add whatever information is needed in additional columns. Still wondering for list vs table. Probably table is best.
Additional: I didn't add the label/icon in this patch.
#20
@
6 years ago
- Milestone changed from 5.1 to Future Release
The 5.1 release beta 1 is today. Punting to Future Release.
#21
@
6 years ago
To recap, this is not just about the icon. There's the need of a textual indication of the "pending" status, ideally at the beginning of a comment row. Worth reminding in the Comments screen and in the Classic Editor comments meta box, there's no icon. These are data tables and ideally there should be a "Status" column.
possible pending icon