This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Component: Header Logo (VLogoLoader
)
#371
Labels
🧹 status: ticket work required
Needs more details before it can be worked on
Milestone
Component:
VLogoLoader
Description
The
VLogoLoader
is a component that displays the Openverse logo but also acts as a global loader to indicate that results aren't ready. In the header this component will be wrapped in a<NuxtLink />
so that it also serves as a link to the homepage.Initially this component can be very simple, but I am exploring the usability of making it use
aria-busy
1 to announce the loading state. We'd have to make the results area an live region so we need to explore that more.A good writeup of live regions can be found here: https://www.smashingmagazine.com/2015/04/its-alive-apps-that-feed-back-accessibly/
API
Props
IDLE|LOADING
It might make sense to make the hover state a prop at some point but I don't think it's necessary yet.
Code samples
Usage:
References
Implementation
Footnotes
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-busy ↩
The text was updated successfully, but these errors were encountered: