Loading
feat: #3631966 Style the search page Category tabs and Sort by, and show ticked facet boxes
Closes https://www.drupal.org/i/3631966
- Category tabs: the tabs facet (
search_tabs_category) styled as the design's tab row. The active tab is tertiary with white text, a line runs under the row, and the row scrolls sideways on phones. New templatefacets-item-list--links--search-tabs-category.html.twig. - Sort by: a dropdown that stays a set of links, so a new sort keeps the chosen tab (
bef-links--search--results-block--sort-by.html.twig). Keyboard order follows the design: keywords, Search, Sort by (views-exposed-form--search--results-block.html.twig). - Ticked state: checked facet boxes and the Date Published radios fill black with a white mark (
vartheme.base.scssand its compiled CSS). - Tabs component: a row of plain links stays a list and only becomes a tablist when it has panes. This touches every page that uses Tabs, please review it there too.
- Goes with The Rightup recipe change that adds the Category tabs and Sort by to the search page.
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
Edited by Rajab Natshah