|
|
|
|
|
by yreg
582 days ago
|
|
> What is the benefit of the animation to the user? Animations enhance experience by drawing attention to state changes and providing intuitive feedback to user actions. If you don't find them engaging or useful, that's fine - and you can set prefers-reduced-motion to true on your client - , but many people do. > What is the benefit of focusing on the menu’s parent to the user? The first item was not interacted with nor navigated to, therefore it shouldn't be focused under normal circumstances. It would be unexpected behavior. Focusing the first item in keyboard interactions is an accessibility hack recommended by W3C: https://www.w3.org/WAI/ARIA/apg/patterns/menubar/ |
|
> If you don't find them engaging or useful, that's fine - and you can set prefers-reduced-motion to true on your client - , but many people do.
The question here is not "does an animation have worth", but how is that worth tied to whether an onclick event originated from the mouse or the keyboard? Your reasoning applies equally to both, and thus leaves us still confused: why are we varying the animation by input device?