Use keyboard focus on desktop
When a modal opens on desktop, it's essential to shift the keyboard focus inside the dialog. Placing it on the primary action not only encourages users to choose it but also aids in accessibility, especially for users with motor disabilities. Keyboard navigation should be seamless, allowing users to access all functional controls within the modal. Adding a colored fade-in frame to the primary button can be particularly effective; it lends extra visual emphasis, guiding users toward the most likely action.