Calendar Component
Contributed by Ke Louis Liu
Basic Component
Code Usage
This is the index page for the Advanced folder!
Definition and Usage
The calendar feature supports providing community event information in a calendar format either to all site visitors or only signed in site visitors (community members), while only authorized members may add events.
Variants
Date Input Calendar
Code Usage
Date Time Input Calendar
Code Usage
Month Input Calendar
Code Usage
Time Input Calendar
Code Usage
Week Input Calendar
Code Usage
Date Range Picker Calendar
Code Usage
Usability
Intuitive Navigation
Users should be able to easily navigate between months and years.
Clear Date Selection
Clicking or tapping on a date should provide immediate visual feedback.
Highlight Today's Date
Today's date should be highlighted or differentiated from other dates.
Visual Indicators
Important dates, events, or appointments should have distinct visual indicators.
Responsive Design
The calendar should be usable across different devices – from desktops to tablets to smartphones.
Tooltip on Hover
Displaying additional information about a date or event when a user hovers can provide clarity.
Drag and Drop Functionality
For advanced implementations, allowing users to drag and drop events can enhance the user experience.
Consistent UI
Ensure that the user interface remains consistent in terms of colors, fonts, and interactions.
Accessibility
Keyboard Navigation
Users should be able to navigate through dates and functions using just the keyboard.
Screen Reader Support
Important elements, like dates and events, should be readable by screen readers.
High Contrast Mode
Offer a high contrast mode for users with visual impairments. Avoid Reliance on Color Alone: Important information should not be conveyed by color alone. Use text or symbols alongside color.
Version
Version | Editor | Author | Date | Description |
---|---|---|---|---|
v1.0 | Ke Liu | Ke Liu | Oct 5 2023 | Initial version |