When developing a website, I am implementing progressive enhancement to ensure accessibility and SEO friendliness. This approach involves structuring elements like the menu and slideshow as unordered lists in the page markup, with JavaScript handling the styling.
I want to prevent any flash of unformatted content where the unordered lists are visible before being styled. Can anyone share best practices for avoiding this issue?
It's crucial that the site remains accessible and SEO-friendly, which is why I'm using progressive enhancement. For example, I can't simply hide the initial appearance of the unordered lists with display: none.