Fair Housing Act compliance audit for housing, apartment, and real estate website content. Scans all user-facing copy for violations of HUD advertising guidelines across all 7 federal protected classes. Use when user says "FHA compliance", "fair housing check", "HUD advertising audit", "housing discrimination check", or when running any SEO audit on a residential property, apartment, or real estate website.
Automated Fair Housing Act compliance audit for housing/apartment/real estate website content. Scans all user-facing copy for violations of HUD advertising guidelines across all 7 federal protected classes.
This skill is CONSERVATIVE by design — it is better to flag and clear than to miss a violation. FHA violations can result in HUD complaints, lawsuits, and significant fines.
| # | Protected Class |
|---|
| Source |
|---|
| 1 | Race | Title VIII, Civil Rights Act 1968 |
| 2 | Color | Title VIII, Civil Rights Act 1968 |
| 3 | National Origin | Title VIII, Civil Rights Act 1968 |
| 4 | Religion | Title VIII, Civil Rights Act 1968 |
| 5 | Sex / Gender | Title VIII, Civil Rights Act 1968 |
| 6 | Familial Status | Fair Housing Amendments Act 1988 |
| 7 | Disability | Fair Housing Amendments Act 1988 |
Note: State and local fair housing laws may add additional protected classes (e.g., source of income, sexual orientation, gender identity, marital status, age, veteran status). Always check applicable local regulations.
Scan for these patterns (case-insensitive):
What is OK:
Scan for these patterns:
What is OK:
Scan for these patterns:
What is OK:
Scan for these patterns:
What is OK:
Scan for these patterns:
What is OK:
Scan for:
| Level | Definition | Action Required |
|---|---|---|
| HIGH | Clear FHA violation — language that directly violates HUD advertising guidelines or could result in a complaint | Immediate removal or rewrite required |
| MEDIUM | Gray area — language that a fair housing tester or HUD auditor could challenge | Recommended fix; prioritize in next content update |
| LOW | Best practice — industry trend toward more inclusive language; easy fix, low risk | Fix when convenient; no legal exposure but shows good faith |
Use fetch_page.py and parse_html.py (or read_url_content) to collect:
Apply the regex patterns below against all collected content. For each match:
On every page of the site, verify:
img tags with alt text containing "equal housing")display:none, visibility:hidden, opacity:0)import re
# Category 1: Familial Status
FAMILIAL_STATUS = re.compile(
r'(?i)\b('
r'family[- ]friendly|family[- ]oriented|'
r'ideal for families|perfect for families|great for families|'
r'great for singles|ideal for singles|'
r'singles (community|only)|'
r'adult[s]? (only|community)|'
r'no children|child[- ]?free|'
r'family[- ]sized|'
r'youngest members|your kids will love|bring the kids'
r')\b'
)
# Category 2: Religion
RELIGION = re.compile(
r'(?i)\b('
r'church|temple|mosque|synagogue|shul|chapel|cathedral|'
r'prayer room|worship|'
r'christmas|hanukkah|easter|ramadan|diwali|'
r'blessed|prayer'
r')\b'
)
# Category 3: National Origin / Race
NATIONAL_ORIGIN_RACE = re.compile(
r'(?i)\b('
r'diverse|diversity|multicultural|multi-cultural|'
r'ethnic neighborhood|exclusive community|'
r'restricted|segregated|changing neighborhood'
r')\b'
)
MASTER_TERMINOLOGY = re.compile(
r'(?i)\b(master bedroom|master suite|master bath)\b'
)
# Category 4: Sex / Gender
SEX_GENDER = re.compile(
r'(?i)\b(bachelor pad|man cave|his and hers)\b'
)
# Category 5: Disability
DISABILITY = re.compile(
r'(?i)\b('
r'able[- ]bodied|handicapped|'
r'must be able to|no wheelchair|'
r'physically fit'
r')\b'
)
# Category 6: EHO Presence (check for ABSENCE)
EHO_STATEMENT = re.compile(
r'(?i)(equal housing opportunity)'
)
For each finding, produce a row in this table:
| # | Severity | Page/File:Line | Protected Class | Exact Text | Recommended Fix |
|---|----------|----------------|-----------------|------------|-----------------|
| 1 | HIGH | /apartments:42 | Familial Status | "perfect for families" | Remove; describe amenities factually |
| 2 | MEDIUM | /neighborhood:18 | National Origin | "diverse neighborhood" | Replace with factual descriptions of nearby amenities |
| 3 | LOW | /floorplans:7 | Race (best practice) | "master bedroom" | Replace with "primary bedroom" |
## FHA Compliance Summary
| Metric | Value |
|--------|-------|
| Pages scanned | [N] |
| Total findings | [N] |
| HIGH severity | [N] |
| MEDIUM severity | [N] |
| LOW severity | [N] |
| EHO statement present | [Yes/No — list pages missing] |
| EHO logo present | [Yes/No — list pages missing] |
| Overall compliance | [PASS / FAIL / NEEDS REVIEW] |
This check runs as part of the Compliance section (Section 8) of any full SEO audit on housing websites.
When integrated into a full SEO audit score:
Before delivering FHA compliance results:
| Document | Relevance |
|---|---|
| Fair Housing Act (42 U.S.C. 3601-3619) | Federal law prohibiting housing discrimination |
| HUD Advertising Guidelines (24 CFR 100.75) | Specific rules for housing advertising language |
| NAR Fair Housing Handbook | Industry best practices for real estate advertising |
| HUD Memorandum on Discriminatory Ads | Guidance on word/phrase violations |