Performance & Accessibility for Beauty and Cosmetics
How a performance and accessibility project for a beauty brand runs, phase by phase: faster try-on and shade finders, lighter swatches, accessible shades.
Last revised
- Home
- Industries
- Performance & Accessibility for Beauty and Cosmetics
On this page
- Why beauty sites are harder to make fast and usable
- How performance & accessibility for beauty and cosmetics runs, phase by phase
- Phase one: discovery built around the launch calendar
- Phase two: speeding up shade finders and virtual try-on
- Phase three: swatch imagery that is light, accurate and honest
- Phase four: making shade selection accessible
- Phase five: trimming review, loyalty and subscription scripts
- Phase six: claims, labeling and what the FDA expects on the page
- Worked example: sizing a shade-launch audit
- What drives cost, and how to brief a supplier
- Measuring results after the launch
- Keeping the site fast through the next shade range
- Related
- Trying us out
Performance & accessibility for beauty and cosmetics is the work of speeding up shade finders and virtual try-on tools, optimizing swatch images, trimming review and loyalty scripts, and making shade selection usable by everyone. It matters to any brand or retailer that sells foundation, concealer, lipstick, brow, hair color or skincare online, and it matters most to the e-commerce lead who has watched a shade quiz lift conversion and does not want to hear that the fix for a slow page is to delete it.
Beauty is judged on imagery more ruthlessly than almost any other category, and shade accuracy decides returns. A shopper who orders the wrong foundation shade sends it back, and often does not reorder. The tools that help her choose correctly, such as swatch galleries across skin tones, shade-matching quizzes and camera-based try-on, are also the heaviest things on the page. That tension is the whole subject of this playbook.
What follows is how a project for this industry runs, phase by phase, with the beauty-specific twist at each stage: what to look at first, where the common mistakes hide, how the rules on cosmetic claims touch page content, how to brief a supplier and how to tell whether the work paid off. Worked figures are marked as illustrative; they show the method, not results we are claiming.
Why beauty sites are harder to make fast and usable
Most e-commerce categories can make product pages lighter by showing fewer images. Beauty cannot. A foundation range with 40 or 50 shades needs a swatch for every shade, ideally on more than one skin tone, plus texture shots, before-and-after application images and short video. Lipstick needs the bullet, the swatch on skin and the finish in natural light. Skincare needs texture and packaging detail, ingredient lists and usage instructions. Every one of those assets is doing sales work.
On top of the imagery sits a layer of interactive tools that few other categories carry. A shade finder asks a few questions and recommends a shade. A virtual try-on tool asks for camera access and overlays color on the shopper's face in real time, which means a machine-learning model, a face-tracking library and often several megabytes of script. A quiz may be run by a third-party vendor that injects its own fonts and styles. Reviews widgets load user photos. Loyalty programs load points balances and pop-ups. Subscription tools load their own checkout components. Each is reasonable on its own; together they often make a beauty product page one of the heaviest pages on the web.
Accessibility problems follow the same shape. Shade selectors are almost always rows of colored circles. Try-on tools depend on a camera and on seeing the result. Instructions say things like "choose the swatch that matches the inside of your wrist", which assume the shopper can compare colors visually. None of these is unusual, and all of them are fixable without removing the feature.
- Shade finder
- A quiz or matching tool that recommends a shade from answers about skin tone, undertone and current products.
- Virtual try-on
- A camera- or photo-based tool that overlays product color onto the shopper's face, usually powered by a third-party face-tracking library.
- Swatch
- An image of the product applied to skin or a neutral surface, used to show shade and finish.
- LCP
- Largest Contentful Paint, the time until the main content, usually the hero product image, appears.
- INP
- Interaction to Next Paint, how quickly the page responds to taps and clicks; it replaced First Input Delay as a Core Web Vital in March 2024.
- MoCRA
- The Modernization of Cosmetics Regulation Act of 2022, which expanded the FDA's federal oversight of cosmetics.
How performance & accessibility for beauty and cosmetics runs, phase by phase
The work is best checked before each launch, because a new shade range usually arrives with a new try-on feature or quiz script attached. The timeline below shows how a single audit-and-fix cycle is usually organized around a launch. The durations are illustrative and depend on the number of templates, the tools involved and how quickly your developers can ship; your actual schedule is set in the quote.
- Eight to ten weeks before launch Kickoff: agree the templates in scope, collect analytics access and vendor contacts, record field Core Web Vitals and the current list of third-party scripts.
- Weeks one and two of the cycle Performance profiling of product, collection, shade finder and try-on pages on a mid-range phone; manual accessibility testing of shade selection, quiz and checkout against WCAG 2.2 AA.
- End of week two Findings delivered: a prioritized list, each item with severity, the component responsible, a suggested fix and who owns it (your team, your platform agency or a vendor).
- Weeks three to five Remediation by your developers or ours: script loading changes, swatch image pipeline changes, text names and descriptions for shades, try-on alternatives.
- Two to three weeks before launch Retest of every fixed item, plus a check of the new shade range's imagery and any new quiz or try-on configuration.
- Launch week Light monitoring only; no structural changes while traffic peaks.
- Four weeks after launch Field data review against the baseline, and a short list of anything to carry into the next launch.
The reason for working backward from the launch date is practical. Launch weeks bring the highest traffic of the season, influencer links and paid campaigns all pointing at the same few product pages. That is the worst time to discover that the new try-on configuration added a second face-tracking library, or that the new shade names were never added to the selector's labels.
Phase one: discovery built around the launch calendar
Discovery in beauty starts with the calendar, not the codebase. The questions are which launches are coming, which tools each launch brings with it, and which templates the launch traffic will land on. A new foundation range drives traffic to one product page and a shade finder. A holiday gift-set collection drives traffic to collection pages and bundles. A seasonal campaign for a new lip color may bring a dedicated landing page with autoplay video.
The second question is who controls what. Beauty sites often run several third-party tools, and the brand often controls the account but not the code. The try-on vendor controls its library. The reviews vendor controls its widget markup. The loyalty vendor controls its pop-ups. Discovery lists each tool, who holds the contract, whether the vendor offers a lighter or deferred loading option, and whether the vendor has published accessibility information for its component. That list decides later which fixes are a configuration change and which need a vendor ticket.
The third input is analytics. The e-commerce lead who signs off this work usually already knows that shoppers who use the shade finder convert better. Discovery confirms that with the site's own data and adds the number that matters for performance: how many product-page visitors actually open the finder or the try-on tool. In an illustrative mid-size brand, it might be 120 in every 1,000 foundation page visitors for the shade finder and 45 in every 1,000 for try-on. Those two numbers frame the rest of the project, because they show how many visitors are paying the cost of a tool without using it.
Phase two: speeding up shade finders and virtual try-on
This is the phase where beauty projects produce the largest performance gains, and where the most common mistake lives.
Common mistake: Loading a heavy virtual try-on tool on every product page whether or not anyone uses it. The try-on library, its face-tracking model and its styles download and initialize on page load, delaying the hero image and making every tap feel slow, for the large majority of shoppers who never press the try-on button.
- Load the try-on code only after the shopper presses "Try it on".
- Show a lightweight button and preview image in its place until then.
- Do the same for quiz scripts that are embedded on product pages.
The pattern that works is sometimes called loading on interaction, or a facade. The page ships a small button, styled like the real tool's entry point, with a static preview image. When the shopper presses it, the page fetches the try-on library, shows a clear loading state and opens the tool. The shopper who wants try-on waits a second or two at the moment she has chosen to wait, and every other shopper gets a page that loads and responds as if the tool were not there. The same approach works for shade-finder quizzes, which can open in a dialog or on a dedicated page rather than loading inline on every product page.
Where the vendor library cannot be deferred, the next best options are to preconnect to the vendor's domain only on pages that carry the tool, to load its script with the async or defer attribute rather than blocking rendering, and to make sure its container has fixed dimensions so it does not push the price and add-to-bag button down the page when it appears. That last point is a Cumulative Layout Shift problem that shows up constantly on beauty product pages.
| Try-on or quiz loading approach | Effect on hero image speed | Effect on responsiveness | Experience for tool users | Typical effort |
|---|---|---|---|---|
| Load on every page at startup | Poor: competes with the hero image | Poor: main thread busy initializing | Opens instantly | None (current state) |
| Deferred until after page load | Good | Fair: can still stall early taps | Opens quickly | Low |
| Loaded on interaction behind a button | Good | Good | Short, visible wait on first open | Moderate |
| Moved to a dedicated try-on page | Good on product pages | Good on product pages | Extra click, but a focused experience | Moderate to high |
The e-commerce lead's concern is always that deferring the tool will reduce its use. It is a reasonable concern and it is testable: run the loading change as an experiment on a subset of traffic and compare the rate at which visitors open the tool, not just page speed. In most cases the tool's entry point is what drives usage, and the entry point stays exactly where it was.
Phase three: swatch imagery that is light, accurate and honest
Beauty imagery has two jobs that pull against each other. It must be light enough to load quickly across dozens of swatches, and accurate enough that the shade a shopper sees is the shade she receives. Shade accuracy decides returns, so compression that shifts a warm beige toward pink is not a minor quality issue; it is a cost.
Building a swatch pipeline
Start with the masters. Skin and product retouching that stays honest, shade-accurate color work and swatch imagery across skin tones all happen before the web pipeline sees a file, and the pipeline's job is to preserve that work. Every web export should keep an embedded sRGB profile, because stripping color profiles is one of the most common ways an optimization tool quietly changes color on some devices. Then set responsive sizes that match how swatches are actually displayed. A swatch shown as a 48-pixel circle in the selector does not need the same file as the swatch shown large in the gallery, and yet many beauty sites serve the gallery image for both.
Modern formats such as AVIF and WebP reduce file size substantially at comparable quality, but test them on the imagery that is hardest to compress well: smooth gradients on skin, sheer and shimmer finishes, and deep shades where banding shows first. Export a test set at several quality settings and have the person who approves shade imagery compare them side by side on a calibrated display. Choose the lowest setting she cannot distinguish from the master, and write it into the export specification.
Lazy loading without hiding the shade
Load the hero image and the currently selected shade's swatch immediately, with high fetch priority for the hero. Lazy-load the rest of the gallery, the texture shots and the review photos. Do not lazy-load the image a shopper is most likely to look at first, which on beauty sites is often the swatch on skin rather than the packaging shot. It is worth checking analytics or a heatmap to see which gallery position shoppers actually open, and treating that as the hero.
Short video needs the same discipline. Use a poster image, do not autoload the full file, and avoid autoplay with sound. If a video plays automatically for more than five seconds, WCAG 2.2 requires a way to pause, stop or hide it. The video production side of this, including exporting web-friendly versions of application and tutorial footage, is covered in our video editing and production work for beauty brands.
Myth: Compressing swatch images harder is a free performance win because shoppers look at them on small phone screens anyway.
Reality: Small screens make banding and color shifts in skin tones more noticeable, not less, and shade accuracy is what keeps the right shade in the bag and out of the returns queue. The saving comes from correct sizing and deferred loading, with compression settings chosen by someone who approves shade imagery.
Phase four: making shade selection accessible
Shade swatches need text names and descriptions, not just color, so they can be understood by people who cannot distinguish the colors. That covers shoppers with color vision deficiencies, shoppers using screen readers and shoppers using high-contrast modes, where a row of colored circles can become a row of identical outlines. The audit is run against WCAG 2.2, the current version of the guidelines, and on beauty sites the relevant criteria cluster tightly around shade selection.
What a usable shade selector includes
- A visible shade name and number next to or below the selected swatch, updated as the selection changes, so nobody has to rely on the circle's color (WCAG 1.4.1 Use of Color).
- A short text description of each shade: depth (fair, light, medium, tan, deep), undertone (cool, neutral, warm, olive) and finish where relevant. "Shade 330, medium with a warm golden undertone, satin finish" is usable by everyone.
- Proper form semantics: swatches built as a group of radio buttons with accessible names, not as clickable images, so screen readers announce "Shade 330, medium warm, 12 of 40, selected" (WCAG 4.1.2 Name, Role, Value).
- Visible focus and adequate size: a clear focus indicator on the swatch that has keyboard focus, and targets large enough to tap, which WCAG 2.2 addresses in 2.5.8 Target Size (Minimum).
- Announced changes: when selecting a shade updates the price, stock status or gallery, a status message tells assistive technology what changed (WCAG 4.1.3 Status Messages).
- Non-color distinctions in out-of-stock states: a strike-through or label, not just a faded color.
Instructions that do not rely on sight
Beauty copy is full of sensory instructions: "match the swatch to your jawline", "pick the shade that looks like it disappears", "if the pink one looks right, you are cool-toned". WCAG 1.3.3 Sensory Characteristics asks that instructions do not rely solely on shape, color, size, visual location or sound. That does not mean deleting the advice; it means adding a route that works without comparing colors visually, such as questions about how skin reacts to sun, which jewelry metal the shopper prefers, or which shade she currently wears in a named brand. Our guide to sensory characteristics in instructions works through examples of rewriting this kind of copy.
Try-on and quizzes without a camera
Virtual try-on assumes a camera and the ability to see the result. Some shoppers cannot or will not grant camera access, and a screen reader user gains little from a live overlay. Offer an equivalent route: a text-based shade quiz, a "compare to a shade you already own" lookup, or a set of swatch photos on a range of skin tones with written descriptions. Make sure the try-on dialog itself can be opened, operated and closed with a keyboard, that focus moves into it and returns to the trigger afterward, and that the camera permission request is explained in text before the browser prompt appears. Camera-based tools can also raise privacy questions, since some state biometric privacy laws have been applied to face-scanning features; check current requirements with counsel before launching a new try-on tool.
A structured way to check all of this repeatedly is a written manual test script: the same steps, run by keyboard and screen reader, against each shade selector and quiz at each launch. Our guide to manual accessibility test scripts explains how to write one that a small team will actually keep using.
Phase five: trimming review, loyalty and subscription scripts
Once the shade tools are handled, the next source of weight is the layer of third-party marketing and retention scripts. Beauty brands lean on reviews with user photos, loyalty points, referral programs, subscription and replenishment tools, live chat and social commerce widgets. Each one tends to load site-wide, early, and in full.
The approach is an inventory followed by a decision for each script. Does it need to run on this page? Does it need to run before the page is interactive? Is there a lighter embed option from the vendor? Is it still in use at all? It is common to find scripts from tools the brand stopped paying for, still loading on every page because nobody removed the tag.
- Reviews: render the star rating and count on the server or from a small static snippet, and load the full review widget with photos when the shopper scrolls to it.
- Loyalty: show the points balance in the account area and cart, not as a pop-up that initializes on every product page.
- Subscription and replenishment: load the subscription option's script with the product form, not site-wide.
- Chat: load after the first interaction or on a delay, and make sure its launcher does not cover focused form fields on small screens (WCAG 2.2, 2.4.11 Focus Not Obscured).
- Pop-ups and email capture: make them dismissible by keyboard, move focus correctly, and do not trigger them on top of the shade selector.
These changes improve INP more than any other metric, because third-party scripts are the main reason taps on beauty product pages feel sluggish. They also tend to fix accessibility issues along the way, since many pop-ups and widgets are the components that trap focus or cannot be closed by keyboard. When the scripts are embedded in the storefront code, the change may belong with your platform developers; our e-commerce development for beauty and cosmetics brands covers that side of the stack.
Phase six: claims, labeling and what the FDA expects on the page
Performance and accessibility work changes page content: it adds shade descriptions, rewrites instructions, adds alt text and sometimes re-exports imagery. Every one of those touches cosmetic claims, so it helps to know the boundaries in general terms.
The FDA regulates cosmetic labeling and the line between a cosmetic and a drug claim. In broad terms, a product intended to cleanse, beautify or change appearance is a cosmetic, while a product intended to treat or prevent disease or affect the structure or function of the body is a drug, and some products are both. Sunscreens, for example, are regulated as over-the-counter drugs in the United States. The Modernization of Cosmetics Regulation Act of 2022, known as MoCRA, has expanded federal oversight, including requirements around facility registration, product listing and reporting serious adverse events. Check the FDA's current guidance, since implementation dates and details have been updated over time.
For this project, that means three practical rules. First, alt text and shade descriptions should describe what the image shows, not add claims: "swatch of shade 330 on medium skin" rather than "shade 330 erases dark spots". Second, rewritten instructions should keep any drug-related directions, such as sunscreen application and reapplication directions, exactly as approved, because those are not the copywriter's to change. Third, retouching that implies a result the product cannot deliver is an advertising claim the brand owns; an image re-export that smooths skin texture or shifts a before-and-after comparison changes the claim, even if nobody intended it. This is a practical note, not legal advice.
Worked example: sizing a shade-launch audit
The figures in this example are illustrative. They show how scope is counted for a mid-size beauty brand preparing to launch an extended foundation range, not a real client or a promised result.
The brand sells three foundation lines. The existing line has 40 shades and the new launch adds 10 more, bringing it to 50. The two other lines have 30 shades each. Each shade has four images: the bottle, a swatch on a neutral surface and swatches on two skin tones. That makes 50 + 30 + 30 = 110 shades, and 110 × 4 = 440 swatch-related images to run through the export pipeline, before texture shots and campaign imagery.
| Item in scope | Illustrative count | Why it drives effort |
|---|---|---|
| Distinct page templates | 5 (product, collection, shade finder, try-on page, checkout) | Each template is profiled and tested separately |
| Shades needing text names and descriptions | 110 | Descriptions must be written, checked by the shade team and added to the selector |
| Swatch-related images | 440 | Re-export with correct sizes, format and embedded color profile |
| Third-party scripts on the product page | 9 | Each needs a load decision and, sometimes, a vendor ticket |
| Interactive tools | 2 (quiz and try-on) | Both need performance changes and keyboard and screen reader testing |
In this illustrative case the baseline field data might show a mobile LCP of around 4 seconds on the foundation product page and an INP well above Google's 200-millisecond "good" threshold, with the try-on library and reviews widget as the main contributors. The findings would put deferring try-on and reviews at the top of the list, because they affect every visitor to the most important template; text shade names next, because they are the largest accessibility barrier; and the image re-export third, because it is mechanical once the specification is agreed. The 110 shade descriptions are content work that the brand's own shade team is best placed to approve, and planning for their review time is often what decides whether the fixes are ready before launch.
What drives cost, and how to brief a supplier
Performance & accessibility work starts at $1,200.00 per audit with us. That is a starting price for a defined audit; the number for your site depends mainly on how many templates, tools and scripts are in scope, whether you want remediation as well as findings, and how much content (shade descriptions, rewritten instructions) needs to be produced. The pricing page puts every rate next to what the US market typically charges, and a quote turns the range into one number for your volume. If timing is the tighter constraint, our guide on how long an accessibility audit takes explains what lengthens or shortens one.
A clear brief shortens discovery and makes quotes from different suppliers comparable. For beauty, the brief should be specific about launches, shades and tools.
- Your launch calendar for the next two or three launches, with the templates each one will drive traffic to
- The number of shades per product line, and how many images each shade currently has
- Every interactive tool on the site (shade finder, quiz, try-on) and the vendor behind each
- A list of third-party scripts, or access to your tag manager so the supplier can build one
- Analytics showing how many product-page visitors open the shade finder or try-on tool, and how they convert
- Where your swatch masters live, who approves shade imagery and which color profile they use
- Any accessibility feedback or complaints received, and any returns data tied to wrong shades
- Who approves claims language, so new descriptions and alt text are reviewed before publishing
When comparing suppliers, ask how they test shade selectors with a screen reader and keyboard, how they handle vendor-controlled tools they cannot edit directly, and how they protect color accuracy when re-exporting imagery. Be cautious with anyone who promises to make the site "fully compliant" or free from legal risk, or who suggests an overlay widget will make it conformant on its own; an overlay cannot write shade descriptions or make a try-on dialog keyboard operable. To see how we would treat your imagery before committing, you can send a couple of your own files, such as a swatch master and the product page it appears on.
Measuring results after the launch
Measure against the baseline taken in discovery, using field data rather than lab scores alone. Core Web Vitals are assessed at the 75th percentile of real visits, with Google's published "good" thresholds at an LCP of 2.5 seconds or less, an INP of 200 milliseconds or less and a CLS of 0.1 or less. Compare the same templates, on mobile, over at least 28 days after the changes, since that is the window the Chrome UX Report uses.
The commercial measures should be tied to what changed. If the try-on tool was moved behind a button, track the rate at which product-page visitors open it, before and after, expressed per 1,000 visitors; the goal is for that rate to hold steady while the page gets faster. If shade names and descriptions were added, track add-to-bag rates on the foundation pages and, over a longer window, returns flagged as "wrong shade". Returns are the slowest signal but the one that most directly reflects shade accuracy and shade selection working for more people. Launches make year-over-year comparisons noisy, so compare against the previous launch of a similar size where you can, and write down your expected changes before the launch so the review tests a prediction.
Accessibility is measured differently. Retest the fixed components with keyboard and screen reader, and keep a log of issues found and closed. Where possible, include shoppers who use assistive technology in a short usability session on the shade finder; their success at choosing a shade without help is the most honest measure of whether the work did its job.
Keeping the site fast through the next shade range
Beauty sites regress quickly because every launch adds something: new shades, a new campaign video, a new tool from the marketing team. Protect the gains with a small set of habits. Keep a written image export specification and give it to every photographer and retoucher. Set a script budget for the product template and require any new tool to fit within it or replace something. Add three questions to the launch checklist: does every new shade have a text name and description, does every new tool load only on interaction and work by keyboard, and does any new copy rely only on color or visual comparison? The wider method we apply across industries, including deliverables and how we check fixes, is set out in how the work runs, what it costs and how we check it.
The underlying principle carries from launch to launch. The shade finder and try-on tool are worth keeping because they help shoppers choose the right shade, and the goal is to keep them fast rather than remove them. The shade names are worth writing because they let more people choose the right shade at all. Both lead to the same place: fewer wrong-shade orders and a product page that works for every shopper who lands on it on launch day.
Related
Other work for beauty and cosmetics
- Video Editing & Production for Beauty and cosmetics
- E-commerce Development for Beauty and cosmetics
- Web Design & Development for Beauty and cosmetics
- SEO Services for Beauty and cosmetics
Performance & accessibility in other sectors
- Performance & Accessibility for Manufacturing and industrial
- Performance & Accessibility for Industrial equipment
- Performance & Accessibility for Logistics and freight
- Performance & Accessibility for Energy and solar
More on performance & accessibility
- How the work runs, what it costs and how we check it
- Meaningful Reading Order: The Decisions That Matter
- A Practical Guide to Sensory Characteristics in Instructions
Trying us out
The quickest way to find out if we are any good for you is to send a couple of your own files and look at what comes back. It is free and there is no card involved. If the scope is already clear, ask for a fixed price instead.