{"id":20727274,"url":"https://github.com/john-doherty/seo-tabs","last_synced_at":"2026-05-20T16:39:08.437Z","repository":{"id":63826944,"uuid":"310536287","full_name":"john-doherty/seo-tabs","owner":"john-doherty","description":"Simple SEO friendly tabs (1k of pure JS)","archived":false,"fork":false,"pushed_at":"2022-11-26T23:54:46.000Z","size":143,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T16:56:02.238Z","etag":null,"topics":["javascript","no-dependencies","seo-friendly","tabs","vanilla-js"],"latest_commit_sha":null,"homepage":"https://orcascan.com/guides/how-to-connect-orca-scan-to-your-database-5d9695c8#how-do-i-create-a-lookup-url-for-my-system","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/john-doherty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-06T08:27:44.000Z","updated_at":"2022-11-26T23:45:39.000Z","dependencies_parsed_at":"2022-11-27T01:31:23.842Z","dependency_job_id":null,"html_url":"https://github.com/john-doherty/seo-tabs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/john-doherty/seo-tabs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fseo-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fseo-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fseo-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fseo-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/john-doherty","download_url":"https://codeload.github.com/john-doherty/seo-tabs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fseo-tabs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33267092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","no-dependencies","seo-friendly","tabs","vanilla-js"],"created_at":"2024-11-17T04:29:49.686Z","updated_at":"2026-05-20T16:39:08.422Z","avatar_url":"https://github.com/john-doherty.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# seo-tabs\n\nSimple SEO friendly tabs _(1k of pure JS)_. Goals:\n\n- [x] Keep it really f'kin simple\n- [x] Minimal _(semantic)_ HTML\n- [x] Intuitive markup\n- [x] Set default tab without JS\n- [x] SEO friendly _(crawlable + minimal js)_\n- [x] 0 CSS conflicts _(uses HTML5 data-* attributes)_\n- [x] Bookmarkable _(add `data-hashable=\"true\"`)_\n\nTry it :point_right: [orcascan.com](https://orcascan.com/guides/how-to-connect-orca-scan-to-your-database-5d9695c8#how-do-i-create-a-lookup-url-for-my-system)\n\n## Usage\n\nAdd the [seo-tabs.min.js](dist/seo-tabs.min.js) and [seo-tabs.min.css](dist/seo-tabs.min.css) files to your page:\n\n```html\n\u003cscript src=\"path-to/seo-tabs.min.js\"\u003e\u003c/script\u003e\n\u003clink href=\"path-to/seo-tabs.min.css\" /\u003e\n```\n\nAdd the minimal, semantic markup for your tabs:\n\n```html\n\u003cdiv data-seo-tabs=\"true\" data-hashable=\"true\"\u003e\n    \u003ca href=\"#one\" data-tabtop=\"true\" data-active=\"true\"\u003eOne\u003c/a\u003e\n    \u003ca href=\"#two\" data-tabtop=\"true\"\u003eTwo\u003c/a\u003e\n    \u003ca href=\"#three\" data-tabtop=\"true\"\u003eThree\u003c/a\u003e\n    \u003cdiv id=\"one\" data-tabbox=\"true\" data-active=\"true\"\u003e\n        Hello from tab box 1\n    \u003c/div\u003e\n    \u003cdiv id=\"two\" data-tabbox=\"true\"\u003e\n        Hello from tab box 2\n    \u003c/div\u003e\n    \u003cdiv id=\"three\" data-tabbox=\"true\"\u003e\n        Hello from tab box 3\n    \u003c/div\u003e\n\u003c/div\u003e\n```\n\nOverride default style using CSS:\n\n```css\n/* tap tops */\n[data-seo-tabs=\"true\"] [data-tabtop=\"true\"] {\n    border: 1px solid #ccc;\n    border-bottom: 0;\n}\n\n[data-seo-tabs=\"true\"] [data-tabtop=\"true\"][data-active=\"true\"] {\n    background: #ccc;\n    color: #333;\n}\n\n/* tab boxes */\n[data-seo-tabs=\"true\"] [data-tabbox=\"true\"] {\n    background: #ccc;\n    border: 1px solid #ccc;\n}\n\n[data-seo-tabs=\"true\"] [data-tabbox=\"true\"][data-active=\"true\"] {\n    background: #ccc;\n}\n```\n\nThe above code produces:\n\n\u003cimg src=\"docs/example.gif\" height=\"156px\" /\u003e\n\n## Contributing\n\n1. Fork it!\n2. Create a branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -m 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :muscle:\n\n### Development\n\nThe project includes everything you need to tweak, including a node webserver. Run the following:\n\n```bash\ngit clone https://github.com/john-doherty/seo-tabs\ncd seo-tabs\nnpm install\nnpm start\n```\n\nThen visit [http://localhost:8080](http://localhost:8080) in your browser.\n\n### Update .min files\n\nUpdate the minified files from source by increasing the version number in `package.json` and run the following:\n\n```bash\nnpm run build\n```\n\n## Star the repo\n\nIf you use this useful please star the repo, it helps me prioritize which open source issues to tackle first.\n\n## History\n\nFor change-log, check [releases](https://github.com/john-doherty/seo-tabs/releases).\n\n## License\n\nLicensed under [MIT License](LICENSE) \u0026copy; [John Doherty](https://twitter.com/mrjohndoherty)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-doherty%2Fseo-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohn-doherty%2Fseo-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-doherty%2Fseo-tabs/lists"}