Opened 11 years ago
Closed 11 years ago
#26689 closed defect (bug) (fixed)
Admin pointers fail contrast ratio guidelines, get lost in UI
Reported by: | ericlewis | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.8.1 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Accessibility | Keywords: | needs-ui needs-patch |
Focuses: | ui | Cc: |
Description
When I first saw this pointer (see attached screenshot) I was a bit bewildered at what it was pointing to. Then I realized it was because of the color contrast between the arrow and the background, or lack of. And, after that, "this must be what being colorblind is like."
Attachments (8)
Change History (25)
#3
follow-up:
↓ 5
@
11 years ago
Could not reproduce the original screenshot in Firefox 26. The border is there, although misplaced by a few pixels: 26689.admin-pointer-wp38.png.
#4
@
11 years ago
26689.patch fixes the padding for me: 26689.after.png.
The border color still looks weird though, should probably be corrected as well.
#5
in reply to:
↑ 3
@
11 years ago
- Keywords needs-patch added
Replying to SergeyBiryukov:
Could not reproduce the original screenshot in Firefox 26.
Reproduced in Chrome 31.
#6
follow-up:
↓ 7
@
11 years ago
I can't even get that pointer to appear for locked posts. What are the steps to produce this screen?
I'm pretty sure this is one of the many issues already addressed at http://wordpress.org/plugins/fix-admin-contrast/ but I do want to help you guys test this feature.
#7
in reply to:
↑ 6
@
11 years ago
Replying to miqrogroove:
I can't even get that pointer to appear for locked posts. What are the steps to produce this screen?
I'm pretty sure this is one of the many issues already addressed at http://wordpress.org/plugins/fix-admin-contrast/ but I do want to help you guys test this feature.
Pointers are only shown the first time you encounter a feature; once you dismiss, you never see them again. Pointers that have been dismissed are stored in user meta under the key dismissed_wp_pointers
; deleting that should show you all pointers like you were a kid again.
#9
follow-up:
↓ 10
@
11 years ago
With dismissed_wp_pointers = ''
I get other pointers, like on the post editor, but I don't get pointers on the All Posts page.
#10
in reply to:
↑ 9
@
11 years ago
Replying to miqrogroove:
I'm creating new users for testing and they are not getting pointers at all.
Replying to miqrogroove:
With
dismissed_wp_pointers = ''
I get other pointers, like on the post editor, but I don't get pointers on the All Posts page.
The Edit Lock pointer is only displayed if the site has more than one post author with published posts:
tags/3.8/src/wp-admin/includes/template.php#L1906.
Wrote a quick plugin to force all admin pointers to be displayed (including Edit Lock): force-admin-pointers.php.
#11
@
11 years ago
The easiest thing I could come up with was to adjust the background color of the pointer's content and arrow to #DDD
. The contrast is better, but the clean look and feel is lost. What this really needs is a strong drop shadow on all edges. I considered working something into my plugin, but the way this feature is described above, I think these pointers almost never appear in normal use.
This ticket was mentioned in IRC in #wordpress-dev by nacin. View the logs.
11 years ago
#14
@
11 years ago
I tried applying 26689.patch but I didn't see the border shown in Sergey's screenshot. I've uploaded 26689-2.patch, which adds a separate border for the entire pointer, and a :before pseudo-element on the arrow to recreate the look of a border there. I've tested in Safari, Chrome, Firefox, IE10/8/7. Doing this as a patch for now though in case there are any pointer types I've missed.
More screenshots are at: https://cloudup.com/c948BawttsA
#15
@
11 years ago
I checked all of our pointers. This looks great, thanks MT!
In 3.9 we should clean out some of our pointers. We've already been doing that but I noticed a few things that apply less now. The customize_current_theme_link pointer, for example, no longer has a proper target (.theme .customize would work) and refers to the Available Themes list. The others seem OK, though we never did fix the placement of the Revisions pointer when the Publish box was in the wide left column. And the toolbar one is probably pretty dated; not many people are updating from pre-3.3 these days. It might also be nice to, on save, remove ones we've removed from core so the meta value doesn't run on forever. Feel free to open a ticket or two, anyone. :-)
Appears to be a regression. Looked like this in 3.7: 26689.admin-pointer-wp37.png.