Open rypptc opened 1 month 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.
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
This is on legaldb page
Implementation