Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 20 months ago

#60442 closed enhancement (wontfix)

Improve user experience when interacting with internal search

Reported by: marc4's profile Marc4 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: ui, accessibility, administration Cc:

Description

When have to make heavy use of the WordPress input browser getting right to click on the "x" to remove the field from the search input can be very frustrating.

We could improve this with a button inside or outside the input, expanding the "x" clickable area.

Attachments (1)

clean-search.png (33.8 KB) - added by Marc4 2 years ago.

Download all attachments as: .zip

Change History (5)

@Marc4
2 years ago

This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.


2 years ago

#2 @joedolson
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thanks for contributing, @marc4!

The clear search button is a browser feature, and is only available in Webkit and Blink based browsers. We could probably hide it and implement a separate clear search button, but I'm not sure that I see a lot of value in that.

I do think that those clear search buttons are badly implemented in the browsers, but coming up with a consistent cross-browser solution to remove the existing button is a lot of engineering for something that already has multiple paths on the user front.

The search can be cleared using the button, Ctrl + A and delete, or double click and delete; adding a custom method seems excessive.

#3 @Marc4
2 years ago

Thanks for your response @joedolson

I have created a plugin to add this button. The plugin has been sent for review, but if anyone is interested can download it from here:

https://github.com/marcarmengou/clear-internal-search-button

Version 2, edited 2 years ago by Marc4 (previous) (next) (diff)
Note: See TracTickets for help on using tickets.