Make WordPress Core

Opened 3 months ago

Closed 3 months ago

Last modified 4 days 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 3 months ago.

Download all attachments as: .zip

Change History (5)

@Marc4
3 months ago

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


3 months ago

#2 @joedolson
3 months 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
3 months ago

Thanks for your response @joedolson

Last edited 4 days ago by Marc4 (previous) (diff)

#4 @Marc4
4 days ago

Hi @joedolson, I have recently worked some more on this functionality and wanted to show the progress.

In my tests it works fine in Chrome, Brave and Firefox.

Preview

Download

Note: See TracTickets for help on using tickets.