Inserting JavaScript into Dawn theme file

Topic summary

A user is working with the Dawn 15.2.0 Shopify theme and needs to add JavaScript code to improve accessibility for JAWS screen readers when using Klaviyo sign-up forms.

Main Questions:

  • Which file serves as the “main theme file” in Dawn 15.2.0?
  • Whether theme.liquid is the correct location
  • If the JavaScript needs to be wrapped in HTML tags or other formatting

Status: The question remains unanswered with no responses yet. The user is seeking technical guidance on proper code placement and formatting within the Dawn theme structure.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hi y’all,

I’m using the Klaviyo app on the Dawn 15.2.0 theme. I want to insert some JavaScript to make Klaviyo’s sign-up forms more accessible to JAWS screen readers. I’m told to put the code into the main theme file, but which file is that for this theme? Theme.liquid looks like it may be it, but do I have to wrap my Javascript in HTML or something?

Thanks in advance!

Blessings,

Mark