Comments (5)
https://github.com/govau/design-system-starter/tree/draft-search-results/
from design-system-starter.
Deployed with Netlify at:
https://govau-design-system-search-results-template.netlify.com/search-results/
Interesting points for further discussion / refinement:
- Use of
role="status"
for search result count display (first time we've used this). Displaying at both top and bottom of search results - Additional skip link to bypass search filters / refinements and go directly to result #1
- Use of
ol
for search results, with expectation thatstart
value will be changed programatically - Prevent search engines from indexing and following search result pages
- Multiple search result types (with tags, with date, with metadata, with image)
- Conditional display of 'No results' (or similar) page alert.
New styles required:
mark
- Whitespace modifications to override headings/paragraphs in search results
- Inline dl display for per-result metadata
- Muted display of per-result dates
Pending progress from other components
- Improved search result pagination
- Improved search input form in header
- Per-result metadata marked up using
dl
- Improved search input with autosuggest / autocomplete
Potential bugs discovered:
- Focus state on targets for additional skip links persists
- Mis-aligned focus states for radio/checkbox
input
s select
input chevron display- Excessive padding on
form
Other items for discussion:
- Back to top links?
- Sort != Refine/Filter
- Click target in mobile view (esp. where results have image)
- Faceted search variants vs post-search parametric refinement
- Per result breadcrumbs?
- Related searches
from design-system-starter.
Enhancements in potential future iterations:
- Highlighted "Best Bet" results
- Feature box results (for example, searching 'sbr' at ato.gov.au
- Tab-based scope switching
- Disabling browser-default
autocapitalize
,autocomplete
,autocorrect
,spellcheck
behaviours for theinput
from design-system-starter.
For sprint 137.
- Open a draft PR
- Encourage feedback from others on this template
from design-system-starter.
While we wait for the pagination component to come online, I'd propose an initial iteration of this template that uses direction links for Prev/Next functionality.
from design-system-starter.
Related Issues (20)
- Text area not receiving margin-top when span/label are placed above it
- Add meta tags to template pages HOT 1
- Alignment of side nav on content page HOT 1
- Use cards
- Breadcrumbs should be above side nav on mobile view HOT 1
- Add full stops to end of hint text and error text
- Add `see more articles` CTA on home page
- AUheader heading should be a h1 HOT 4
- On Home page the H2 Articles is outside the grid column, unlike the other H2s on the page. HOT 1
- auto prefixer not running correctly?
- Create example manifest.json
- Update position of error text messages HOT 1
- Add 'error' to page title on for submit error
- Valid, semantic markup for in-page metadata (minimal version)
- Add Dockerfile HOT 1
- Add pa11y/axe core
- Add visual regression testing
- Characters causing odd spacing HOT 1
- Broken links in README.md HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from design-system-starter.