DEV Community 👩‍💻👨‍💻

Pierre Oliveira
Pierre Oliveira

Posted on

Button + Loading + Animation

Top comments (2)

Collapse
 
mvoloskov profile image
Miloslav 🏳️‍🌈 🦋 Voloskov

The animation is very cool! Please, consider adding aria-busy="true" where it's needed, so screenreaders also can know that there's something loading 😉

Collapse
 
pierreoliveira1 profile image
Pierre Oliveira Author

Thank you for the tip! I made the change.

Need a better mental model for async/await?

Check out this classic DEV post on the subject.

⭐️🎀 JavaScript Visualized: Promises & Async/Await

async await