Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#35041 closed enhancement (fixed)

Add visual feedback to reorder link

Reported by: karmatosed's profile karmatosed Owned by: voldemortensen's profile voldemortensen
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Customize Keywords: ux-feedback ui-feedback has-patch
Focuses: ui, accessibility Cc:


The reorder link has no visual feedback when you hover. I actually missed I was interacting with this because of that. I'm not sure what we'd want as an option here, but having some kind of feedback I think is important as the button next to it does have visual feedback.

Attachments (1)

35041.diff (106.0 KB) - added by coreymcollins 9 years ago.
Update Reorder button default and hover styles

Download all attachments as: .zip

Change History (12)

#1 @karmatosed
9 years ago

  • Keywords ux-feedback ui-feedback added

#2 @melchoyce
9 years ago

I think it's because it's a span, not actually a link, so it didn't inherit the correct styles automatically. If we want to just update the colors for clarity, let's use #0073aa, and #00a0d2 on hover. However — should this be a <button>? Any thoughts @afercia?

#3 @afercia
9 years ago

  • Focuses accessibility added

Actually there are two spans (they're used to change the text depending on the "reordering mode" status) inside a button. As per the hover style, I'm all for improvements. Should be coordinated with the similar button in the Menu Customizer and probably be paired with the focus style?

9 years ago

Update Reorder button default and hover styles

#4 @coreymcollins
9 years ago

Just added an update for this. The styling affects the .reorder-toggle class which means it will hit both the widget and menu reordering buttons as @afercia mentioned above using the color scheme @melchoyce suggested.

This is already a button with spans inside of it, so no need to update the structure at this time.



#5 @johnbillion
9 years ago

  • Version trunk deleted

#6 follow-up: @voldemortensen
8 years ago

  • Keywords has-patch added

@coreymcollins thanks for the patch! Just for future reference, there is no need to update the minified css files. Those are generated with grunt before release. Pretty sure I did the same thing one of my first css patches :)

#7 @voldemortensen
8 years ago

  • Milestone changed from Awaiting Review to 4.5

#8 in reply to: ↑ 6 @coreymcollins
8 years ago

@voldemortensen Thanks for the heads up! I'll keep that in mind for the future.

This ticket was mentioned in Slack in #core by chriscct7. View the logs.

8 years ago

#10 @chriscct7
8 years ago

  • Owner set to voldemortensen
  • Status changed from new to assigned

@voldemortensen what needs to happen on this?

#11 @ocean90
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 36641:

Customizer: Add visual feedback to reorder buttons.

Props coreymcollins, melchoyce.
Fixes #35041.

Note: See TracTickets for help on using tickets.