Skip to content

Commit fdc5d69

Browse files
davidbingmannclaude
andcommitted
Disable third-party spellcheck/grammar overlays on imprint section
Browser extensions like Grammarly and LanguageTool ignore the spellcheck="false" HTML attribute and underline abbreviations such as "DDG" and "GDPR" anyway. Add their dedicated opt-out attributes plus translate="no" so the legal text renders cleanly regardless of the visitor's installed extensions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent afb2600 commit fdc5d69

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/pages/Impressum.jsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ export default function Impressum() {
88
return (
99
<section className="section">
1010
<h1 className="section-title">imprint/</h1>
11-
<div className="section-body" spellCheck={false}>
11+
<div
12+
className="section-body"
13+
spellCheck={false}
14+
translate="no"
15+
data-gramm="false"
16+
data-gramm_editor="false"
17+
data-enable-grammarly="false"
18+
>
1219
<p>
1320
<strong>Information according to §§ 5, 6 DDG</strong>
1421
</p>

0 commit comments

Comments
 (0)