<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-run-an-ai-extractability-audit-on-your-site-i-found-6-heading-tags-that-cost-me-citations--geoysryw0" -->

---
title: How to Run an AI Extractability Audit on Your Site (I...
description: A practical walkthrough of running an AI extractability audit to improve how AI assistants cite your web pages. The core finding: UI card components emitting...
canonical: https://daily.dev/posts/how-to-run-an-ai-extractability-audit-on-your-site-i-found-6-heading-tags-that-cost-me-citations--geoysryw0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to Run an AI Extractability Audit on Your Site (I Found 6 Heading Tags That Cost Me Citations) | daily.dev
og:description: A practical walkthrough of running an AI extractability audit to improve how AI assistants cite your web pages. The core finding: UI card components emitting...
og:url: https://daily.dev/posts/how-to-run-an-ai-extractability-audit-on-your-site-i-found-6-heading-tags-that-cost-me-citations--geoysryw0
og:image: https://api.daily.dev/og/posts/GEOYsryW0.png
og:image:alt: How to Run an AI Extractability Audit on Your Site (I Found 6 Heading Tags That Cost Me Citations)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Run an AI Extractability Audit on Your Site (I Found 6 Heading Tags That Cost Me Citations)

**[freeCodeCamp](https://daily.dev/sources/freecodecamp)** · 18 min read · 0 upvotes · 0 comments

## Summary

A practical walkthrough of running an AI extractability audit to improve how AI assistants cite your web pages. The core finding: UI card components emitting h2/h3 heading tags pollute the page's heading census, diluting the ratio of question-format headings and causing low extractability scores. The fix is ARIA heading demotion — replacing literal heading tags with paragraphs carrying role="heading" and aria-level attributes, preserving screen reader accessibility while removing the false outline from HTML parsers. A Python script using BeautifulSoup audits heading structure and scores pages on five checks. The tutorial also covers setting up a GitHub Actions CI gate to prevent score regression after future deployments. The author's homepage went from 65/100 to 100/100 after fixing six heading tags across five components, correlating with growth from 671 to 1,600 AI citations over 90 days.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.freecodecamp.org/news/how-to-run-an-ai-extractability-audit>

## Similar posts on daily.dev

- [Ranks on Google, Not Cited by AI? Here's Why \+ The Fix](https://daily.dev/posts/ranks-on-google-not-cited-by-ai-here-s-why-the-fix-s8ybnuk4j) · Prismic · 0 upvotes · 0 comments
- [How to Build AI-Citable Documentation for ChatGPT, Perplexity, and Claude](https://daily.dev/posts/how-to-build-ai-citable-documentation-for-chatgpt-perplexity-and-claude-aarso3frk) · SitePoint · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#html](https://daily.dev/tags/html), [#accessibility](https://daily.dev/tags/accessibility), [#seo](https://daily.dev/tags/seo), [#crawling](https://daily.dev/tags/crawling)

[View this post on daily.dev](https://daily.dev/posts/how-to-run-an-ai-extractability-audit-on-your-site-i-found-6-heading-tags-that-cost-me-citations--geoysryw0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to Run an AI Extractability Audit on Your Site (I Found 6 Heading Tags That Cost Me Citations)","url":"https://daily.dev/posts/how-to-run-an-ai-extractability-audit-on-your-site-i-found-6-heading-tags-that-cost-me-citations--geoysryw0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-run-an-ai-extractability-audit-on-your-site-i-found-6-heading-tags-that-cost-me-citations--geoysryw0"},"datePublished":"2026-07-23T05:40:36.145Z","dateModified":"2026-07-23T05:40:58.708Z","description":"A practical walkthrough of running an AI extractability audit to improve how AI assistants cite your web pages. The core finding: UI card components emitting...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7e3843311af7c78d265cfaea67f1ef09?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7e3843311af7c78d265cfaea67f1ef09?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"freeCodeCamp","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"freeCodeCamp","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp","url":"https://daily.dev/sources/freecodecamp"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-run-an-ai-extractability-audit-on-your-site-i-found-6-heading-tags-that-cost-me-citations--geoysryw0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,html,accessibility,seo,crawling","timeRequired":"PT18M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"freeCodeCamp","item":"https://daily.dev/sources/freecodecamp"},{"@type":"ListItem","position":3,"name":"How to Run an AI Extractability Audit on Your Site (I Found 6 Heading Tags That Cost Me Citations)"}]}
```

