SEO Accordion Fix

Descripziun

This plugin ensures that content inside Elementor accordions (or any elements) is visible to users loading your content without JavaScript. Sometimes, Search engines like Google read your pages without JavaScript so we make sure the content in accordions is visible.

It works by adding the open attribute to all HTML tags server-side, making the content appear visible on initial page load.
Then, using a small JavaScript snippet, the plugin closes those accordions again after the page has finished loading – keeping a clean interface for users.

Installaziun

  1. Upload the plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress.
  3. No configuration needed. It works automatically.

FAQ

Does this only work with Elementor accordions?

It works with any HTML element. Elementor’s accordion uses this tag structure by default.

Will this hurt my Core Web Vitals score?

It may slightly increase layout shift (CLS), but your SEO content visibility will drastically improve.

How can I test if the plugin is working?

You can simulate what Googlebot sees by disabling JavaScript in Chrome:
1. Open Chrome DevTools (F12 or right-click Inspect)
2. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the Command Palette
3. Type “Disable JavaScript” and activate it
4. Reload the page — all FAQ accordions should appear open

If the content is visible with JS disabled, that means Google can see it too.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SEO Accordion Fix” is open source software. The following people have contributed to this plugin.

Contributors

Translate “SEO Accordion Fix” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release: automatically opens for SEO and closes them after load for users.