LogoLogo
HomeTheme DocsSupportTry Primavera
  • Primavera Theme Docs
  • Guides
    • Quick start
    • Accessibility
    • SEO
    • How to set up the same homepage sections as the demo stores
    • How to add a mega menu
    • How to add a sidebar menu promotion
    • How to add product swatches
    • How to add a product subtitle/cutline
    • How to add product badges
    • How to add product recommendations
    • How to add an external video
    • How do I enable right-to-left support
  • Theme settings
    • Spacing
    • Appearance
    • Logo
    • Colors
    • Typography
    • Product card
    • Mini product
    • Collection card
    • Blog post card
    • Search behavaior
    • Social media
    • Currency format
    • Cart
    • Optimizations
    • Custom CSS
  • Sections
    • Announcement bar
    • Back to top
    • Banner grid
    • Before/after image
    • Bottom bar
    • Blog posts
    • Cart drawer
    • Collapsible content
    • Collection list
    • Contact form
    • Countdown timer
    • Custom liquid
    • External video
    • Featured collection
    • Featured post
    • Featured product
    • Footer
    • Header
    • Image banner
    • Image hotspot
    • Image with text
    • Logo list
    • Media grid
    • Multicolumn
    • Newsletter
    • Newsletter popup
    • Rich text
    • Rich text columns
    • Scrolling content
    • Search modal
    • Section header
    • Shoppable banner
    • Sidebar menu
    • Slideshow
    • Split banner
    • Split card
    • Stacked images with text
    • Testimonials
    • Video banner
    • Video with text
  • Blocks
    • Badges
    • Buttons
    • Card
    • Collapsible
    • Heading
    • Image
    • Liquid
    • Mini product
    • Page
    • Product
    • Text
    • Video
  • Templates
    • 404
    • Account
    • Blog
    • Blog post
    • Cart page
    • Collection
    • Collection list
    • Gift card
    • Home page
    • Product
    • Password
    • Search
  • FAQs
    • Why isn't my video autoplaying?
    • How do I edit the default theme content?
    • Where do newsletter signups go?
    • Why are my images cropped?
    • How can I change the meta color?
  • Advanced
    • Customizing code
    • JavaScript events
    • How to refresh the cart using JavaScript
    • Use a custom font
  • Contact support
Powered by GitBook
On this page
  • Performance
  • Accessibility
  1. Theme settings

Optimizations

PreviousCartNextCustom CSS

Last updated 1 month ago

Performance

  • Enable instant.page library to preload the next page as a user hovers over a link. This will feel faster to the user, but it will not impact performance scores done by testing tools such as Google lighthouse, as these tools only measure the performance of the initial page load. There is a chance that instant.page will not work with third party apps or analytics services depending on how they are loaded, so you may wish to disable this option if experiencing any issues with your apps.

Accessibility

  • Show focus outlines on text inputs: By default, the browser will show an outline around inputs that are currently focused. This is required for accessibility if the user is using a screenreader or keyboard to navigate. If this option is disabled, we use a third-party library to detect if a user is using a mouse or touch screen, and hide the outlines. If you want to minimize the use of uneccessary javascript libaries or you are concerned about accessibility, you can enable this option.

  • Video description button on videos: By default, we use the video alt text as a video description in order allow merchants to meet the success criterion of the Web Content Accessibility Guidelines. You can disable this option if needed, but please note that not including an alternative to video content is an accessibility failure and may put you at a increased risk of litigation.

1.2.1 Audio-only and Video-only (Prerecorded)