You recognize what they are saying about enjoying sounds on an internet site: don’t. Autoplaying audio is commonly thought-about intrusive and disruptive, which is why fashionable net practices discourage it. Nonetheless, sound design, when used thoughtfully, can improve the person expertise and reinforce a model’s id. So when Arts Company approached me to revamp their web site with a request to combine audio, I noticed a chance to create an immersive expertise that complemented their inventive imaginative and prescient.
To make sure the sound expertise was as seamless as potential, I began fascinated with methods to refine it, similar to muting audio when the tab is inactive or when a video is enjoying. That target element made me surprise: what are another UX enhancements which might be typically neglected however may make a major distinction? That query set the inspiration for a broader exploration of how refined refinements in animation and interplay design may enhance the general person expertise.
When an Concept is Good on Paper
The consumer got here in with sketches and a robust imaginative and prescient for the web site, together with a key characteristic: “building traces” overlaid throughout the design.

These traces needed to transfer individually, as if being “pushed” by the transferring cursor. Whereas this appeared nice in idea, it launched a problem: making certain that customers wouldn’t develop into annoyed when attempting to work together with parts positioned behind the traces.
After some testing and looking for methods to maintain the interplay, I noticed a compromise was essential. Utilizing GSAP ScrollTrigger, I made certain that when sections together with buttons and hyperlinks turned seen, the interactive traces can be disabled. Ultimately, the interplay remained solely in a number of locations, however the idea wasn’t well worth the frustration.
Splitting Textual content Like There’s No Tomorrow
One other problem in balancing animation and value was making certain that textual content remained readable and accessible. Splitting textual content has develop into a regular impact within the business, however not everybody takes the additional step to stop points for customers counting on display screen readers. The most effective resolution in my case was to easily revert to the unique textual content as soon as the animation was accomplished. One other resolution, for individuals who want the textual content to stay cut up, can be utilizing aria-label
and aria-hidden
.
<h1 aria-label="Howdy world">
<span aria-hidden="true">
<span>H</span>
<span>e</span>
<span>l</span>
<span>l</span>
<span>o</span>
</span>
<span aria-hidden="true">
<span>W</span>
<span>o</span>
<span>r</span>
<span>l</span>
<span>d</span>
</span>
</h1>
This fashion the person hears solely the content material of the aria-label
attribute, not the textual content inside the factor.
Scroll-Primarily based Disorientation
One other essential consideration was scroll-based animations. Whereas they add depth and interactivity, they’ll additionally create confusion if customers cease mid-scroll and parts seem frozen in surprising positions.

To counter this, I used GSAP ScrollTrigger’s snap characteristic. This ensured that when customers stopped scrolling, the web page would snap to the closest part naturally, sustaining a seamless expertise.
Arrays Begin at 5?
Autoplaying sliders could be an efficient method to sign interactivity, drawing customers into the content material slightly than letting them assume it’s static. Nonetheless, they’ll additionally create confusion if not applied thoughtfully. Whereas integrating the positioning, I noticed that as a result of some slides have been numbered, customers may land on the web page and discover themselves on the fifth slide as a substitute of the primary, disrupting their sense of movement.
To handle this, I set sliders to autoplay solely once they entered the viewport, making certain that customers all the time began on the first slide. This not solely maintained consistency but additionally bolstered a structured and intuitive searching expertise. By making autoplay purposeful slightly than arbitrary, we information customers by means of the content material with out inflicting pointless distractions.
Transition Confusion
Web page transitions play a vital function in sustaining a clean, immersive expertise, but when not dealt with fastidiously, they’ll result in momentary confusion. One problem I encountered was the chance of the transition overlay mixing with the footer, since each have been black in my design. Customers wouldn’t understand a transition in any respect, making navigation really feel disjointed.
To resolve this, I ensured that transition overlays had a distinct distinction by including a special shade of black, stopping any ambiguity when customers navigate between pages. I additionally optimized transition timing, ensuring animations have been quick sufficient to maintain interactions snappy however clean sufficient to keep away from feeling abrupt. This steadiness created a searching expertise the place customers all the time had a transparent sense of motion and course inside the web site.
I Can Really feel a Shift
A typical concern in net improvement that always will get neglected is the cellular resize set off that happens when scrolling, significantly when the browser’s tackle bar seems or disappears on some units. This resize occasion can disrupt the smoothness of animations, inflicting sudden visible jumps or inconsistencies because the web page shifts.
To deal with this, I made certain that ScrollTrigger wouldn’t refresh or re-trigger its animations unnecessarily when this resize occasion occurred by turning on ignoreMobileResize
:
ScrollTrigger.config({
ignoreMobileResize: true
});
I additionally ensured that any CSS or JavaScript primarily based on viewport top wouldn’t be recalculated on a vertical resize on cellular. Right here’s a utility operate I take advantage of to deal with resize for instance:
/**
* Attaches a resize occasion listener to the window and executes a callback when the situations are met.
*
* @param {Perform} callback - The operate to execute when the resize situation is met.
* @param {quantity} [debounceTime=200] - Time in milliseconds to debounce the resize occasion.
*/
operate onResize(callback, debounceTime = 200) {
let oldVh = window.innerHeight;
let oldVw = window.innerWidth;
const isTouchDevice = 'maxTouchPoints' in navigator && navigator.maxTouchPoints > 0;
// Outline the resize handler with debounce to restrict operate execution frequency
const resizeHandler = $.debounce(() => {
const newVh = window.innerHeight;
const newVw = window.innerWidth;
/**
* Situation:
* - If the gadget is contact and the viewport top has modified considerably (≥ 25%).
* - OR if the viewport width has modified in any respect.
* If both situation is met, execute the callback and replace previous dimensions.
*/
if ((isTouchDevice && Math.abs(newVh - oldVh) / oldVh >= 0.25) || newVw !== oldVw) {
callback();
oldVh = newVh;
oldVw = newVw;
}
}, debounceTime);
// Connect the resize handler to the window resize occasion
$(window).on('resize', resizeHandler);
}
Copy That! Rethinking Contact Hyperlinks
It was the consumer’s request to have a easy contact hyperlink with a “mailto” as a substitute of a full contact web page. Whereas this appeared like an easy strategy, it shortly turned clear that mailto hyperlinks include usability points. Clicking one robotically opens the default e mail app, which isn’t all the time the one the person really desires to make use of. Many individuals depend on webmail providers like Gmail or Outlook of their browser, which means a pressured mail consumer launch can create pointless friction. Worse, if the person is on a shared or public pc, the mail app won’t even be configured, resulting in confusion or an error message.
To enhance this expertise, I opted for a extra user-friendly strategy: mailto hyperlinks would merely copy the e-mail to the clipboard and show a affirmation message.
The Takeaway
This mission bolstered the significance of balancing creativity with usability. Whereas daring concepts can drive engagement, the very best experiences come from refining particulars customers might not even discover. Whether or not it’s stopping pointless animations, making certain clean scrolling, or rethinking how customers work together with contact hyperlinks, these small selections make a major affect. Ultimately, nice net design isn’t nearly visuals, it’s about crafting an expertise that feels easy for the person.