Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Skeleton loading component #174

Open
KatiePUX opened this issue Mar 15, 2024 · 0 comments
Open

[Feature] Skeleton loading component #174

KatiePUX opened this issue Mar 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@KatiePUX
Copy link
Collaborator

KatiePUX commented Mar 15, 2024

Is your feature request related to a problem? Please describe.
Due to additional call being made to APIs, performance discrepancies and connection differences, users might encounter load time issues whilst data is received.

Describe the solution you'd like
A loading visualisation/interaction displays to the users will indicate when background activities are taking place.
A skeleton loading view with gradient 'shimmer' animation
image
image
image
image

A clear and concise description of what you want to happen.
Each section of the form to 'lazy load' from top of the form to bottom, one section at a time.
Link to figma designs - here: https://www.figma.com/file/Iuo0p4VZL9rrD0zpSCERAY/Private-Beta-Design-Versions-0.2?type=design&node-id=85%3A25850&mode=design&t=36S8U804nG2SSrxP-1

Describe alternatives you've considered
Loading spinner or progress bar - research suggests this is not a good user experience in this instance.
See design spike here: https://miro.com/app/board/uXjVNeonWcY=/

Additional context
Accessibility - key notes to consider:
Since the skeleton is a visual element, ensure that image replacements are marked as decorative. (using aria-hidden="true") and hidden from screen readers.
The keyboard is not focusable via keyboard
Avoid using heading markup for skeleton 'bones' that replaces headings
Set aria-busy="true" until loading is complete,. Then set to aria-busy="false"
Avoid content that flashes more than 3 times per second

@KatiePUX KatiePUX added the enhancement New feature or request label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant