creativecommons / vocabulary

A cohesive system of design for Creative Commons
https://vocabulary-docs.netlify.app
Creative Commons Zero v1.0 Universal
8 stars 66 forks source link

[Feature] Add Clear/Reset Button to Search Boxes on Pages Missing It Across Creative Commons Sites #253

Open rypptc opened 3 weeks ago

rypptc commented 3 weeks ago

Problem

On some Creative Commons pages, the search button does not include an option to clear/reset the search box. Two examples are:

legaldb/cases and legaldb/sholarship.

In other cases, this feature is present, such as on the main page.

Main page search

Description

Adding a clear/reset button to search boxes across all pages that lack this feature would make it easier for users to reset their search without having to delete text manually. This would improve usability and create consistency across the Creative Commons sites.

The button could appear as an "X" icon inside the search field that clears the search when clicked.

Alternatives

Keep the current setup: Users manually delete the text in the search field, which is less intuitive and inconsistent with other parts of the site.

Additional context

This is on main page

image

This is on legaldb page

image

Implementation

possumbilities commented 2 weeks ago

These kinds of ancillary controls would be worth exploring, but further work needs to be done within the more "app-centric" elements of Vocabulary first.

moving to https://github.com/creativecommons/vocabulary/labels/%F0%9F%9A%A7%20status%3A%20blocked for now.