Open DanielleRameau opened 1 year ago
As Anna Karoń suggests the best way would be to use <search>
HTML element (https://www.scottohara.me/blog/2023/03/24/search-element.html, https://html.spec.whatwg.org/multipage/grouping-content.html#the-search-element).
aria-label
is also necessary, optionally we can hide <label>
visually, but the effect should be the same.
We need to remember about translations in aria-label/label as well. 😊
User Story
As a Sanoma Learning Design System user, I want a user-friendly Search Field Component that can effectively handle various use cases across our educational products. This Search Field Component should be adaptable to convey:
Definition
The search Field consists of a variation of an input field specific to filtering content in a UI close to it.
Key Points
Acceptance Criteria
States
Accessibility
Behaviours
A11y - Keyboard Navigation:
Figma Links
Reference Links