> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/texlive/ja/sukiru/akuseshiburunapdfno.md).

# アクセシブルなPDFの作成

時間の経過とともに、PDF 作成機能の更新により PDF のアクセシビリティが可能になりました。これには次のような取り組みが含まれますが、 [LaTeX タギングプロジェクト](https://latex3.github.io/tagging-project/documentation/) により、LaTeX ベースの PDF もアクセシブルにできるようになり、改善は今後も続いています。

{% hint style="success" %}
特に [TeX Live 2025](https://www.overleaf.com/blog/tex-live-2025-is-now-available)のリリースが、Overleaf でこのプロセスを可能にしています。なお、 **LuaLaTeX** は MathML を使用する場合に推奨されるコンパイラです。

プロジェクトの設定がそれに応じて構成されていることを確認するには、次の方法を学んでください: [コンパイラと TeX Live バージョンを変更する](https://docs.overleaf.com/getting-started/recompiling-your-project/selecting-a-tex-live-version-and-latex-compiler).
{% endhint %}

私たちのアプローチは主に LaTeX プロジェクトの [アクセシブルな PDF に関する指示](https://latex3.github.io/tagging-project/documentation/usage-instructions)に基づいており、以下のトピックの詳細についてはそちらを参照できます。

{% hint style="warning" %}
これらの実践を実装しても、プロジェクトのすべての要素が必ずしもアクセシブルになるわけではないことに注意してください—詳細はこのページの FAQ セクションをご覧ください。
{% endhint %}

### <i class="fa-tag">:tag:</i> タグ付け

要するに、PDF のタグ付けはスクリーンリーダーが簡単に識別できる「構造」を自動的に作成するプロセスであり、現在および将来にわたって検索しやすくなります。これは LaTeX コードで定義された既存の構造を活用するため、スクリーンリーダーが見出し、本文、図、数式などの要素を区別できます。

TeX Live 2025 は `\DocumentMetaData` 宣言による自動 PDF タグを完全にサポートしています。この宣言を `\documentclass`の前に追加してください。この宣言にはタグ付け機能に影響する重要なキーが 2 つあります: `tagging` と `tagging-setup` .

#### **`tagging`**

tagging が有効になっていることを確認するには、 `tagging` キーを `on`.

<pre class="language-latex" data-overflow="wrap" data-expandable="true"><code class="lang-latex">\DocumentMetadata{<a data-footnote-ref href="#user-content-fn-1">tagging=on</a>}
</code></pre>

#### **`tagging-setup`**

ドキュメントのタグ付け方法を構成するには、 `tagging-setup` キーの値を変更します。

<pre class="language-latex" data-overflow="wrap" data-expandable="true"><code class="lang-latex">\DocumentMetadata{<a data-footnote-ref href="#user-content-fn-1">tagging=on</a>,<a data-footnote-ref href="#user-content-fn-2">tagging-setup={math/setup=mathml-SE}</a>}
</code></pre>

{% hint style="info" %}
この例では MathML 構造要素タグ付けのために \`math/setup=mathml-SE\` を使用しましたが、\[\`\tagpdfsetup\`]\(<https://ctan.math.washington.edu/tex-archive/macros/latex/contrib/tagpdf/tagpdf.pdf>) がサポートする任意の値に設定できます。
{% endhint %}

### <i class="fa-text-size">:text-size:</i> 説明 (Descriptions)

自動タグ付けに加えて、特にドキュメントに画像や表が含まれている場合は、要素の内容の説明を追加する必要があることもあります。

#### <i class="fa-image">:image:</i> 画像

Overleaf では画像に重要な説明を追加するのは簡単で、LaTeX コードを参照する際に特定の画像の文脈を理解するのにも役立ちます。行うべきことは、各 \` `\includegraphics`\` のインスタンスに関連する画像説明オプションを追加するだけです。アクセシビリティのために区別すべき画像の主な種類は 3 つあります: 代替 (alt) テキストが必要な画像、アーティファクト、および実際のテキストに変換される画像です。

**代替テキスト (Alt text)**

画像に代替テキストを追加すると、視覚的な代替としてテキストベースの説明が提供されます。\` `alt` \` キーを使用し、テキスト値を入力してください。

<pre class="language-latex" data-title="代替テキストの例" data-overflow="wrap"><code class="lang-latex">\includegraphics[width=0.25\linewidth,<a data-footnote-ref href="#user-content-fn-3">alt={Macro photo of a green frog's head and hands}</a>]{frog.jpg}
</code></pre>

**アーティファクト (Artifacts)**

画像がスクリーンリーダーに認識される必要がない（つまり純粋に装飾である）場合は、その画像をアーティファクトとしてマークします。値を割り当てずに \` `artifact` \` キーを使用してください。

<pre class="language-latex" data-title="アーティファクトの例" data-overflow="wrap"><code class="lang-latex">\includegraphics[<a data-footnote-ref href="#user-content-fn-4">artifact</a>]{.jpg}
</code></pre>

**実際のテキスト (Actual text)**

画像が単に Unicode 文字の絵である場合は、テキストベースの文字を含めてください。\` `actualtext` \` キーを使用し、括弧なしで単一の文字を割り当てます。

<pre class="language-latex" data-title="実際のテキストの例" data-overflow="wrap"><code class="lang-latex">\includegraphics[<a data-footnote-ref href="#user-content-fn-5">actualtext=B</a>]{.jpg}
</code></pre>

#### <i class="fa-table">:table:</i> 表 (Tables)

表には通常テキストが関連付けられていますが、そのテキストが表の正しい部分に関連付けられていることが重要です。Overleaf プロジェクトの表のセットアップを開始するには、\` `\tagpdfsetup` \` を \` `tabular` \` の前または序文に追加してください。アクセシビリティのために区別すべき表の主な種類は 2 つあります: データ表と表示用表です。

**データ表 (Data tables)**

表に少なくとも 1 行のヘッダー行がある場合は、どの行がヘッダー行であるかを指定してください。\` `table/header-rows` \` キーを使用し、ヘッダー行の位置に対応する一連の番号を入力します。

<pre class="language-latex" data-title="データ表の例"><code class="lang-latex">\tagpdfsetup{<a data-footnote-ref href="#user-content-fn-6">table/header-rows={1}</a>}
\begin{tabular}{l|r}
Item &#x26; Quantity \\\hline
Widgets &#x26; 42 \\
Gadgets &#x26; 13
\end{tabular}
</code></pre>

**表示用表 (Presentation tables)**

表がスクリーンリーダーによって表として解釈されるべきでない場合は、それを表示用表としてマークします。\` `table/tagging=presentation` キーの値を変更します。

<pre class="language-latex" data-title="表示用表の例"><code class="lang-latex">\tagpdfsetup{<a data-footnote-ref href="#user-content-fn-7">table/tagging=presentation</a>}
\begin{tabular}{cc}
\textbullet &#x26; \textbullet \\
''' &#x26; '''
\end{tabular}
</code></pre>

### <i class="fa-comments-question">:comments-question:</i> FAQ <a href="#faqs" id="faqs"></a>

<details>

<summary>ドキュメントがアクセシブルであることを検証するのに役立つツールはありますか？</summary>

はい、PDF/A のパーツや適合レベルを検証できる [veraPDF](https://verapdf.org/)などの外部ツールがいくつかあります。さらに、色同士のコントラスト比を計算するために [WebAIM](https://webaim.org/) のようなツールを使用できます。

</details>

<details>

<summary>Overleaf プロジェクト内のパッケージはこれらの機能と互換性がありますか？</summary>

LaTeX タギングプロジェクトの [パッケージのステータス一覧](https://latex3.github.io/tagging-project/tagging-status/).

</details>

<details>

<summary>を参照できます。 <code>まだ</code>beamer</summary>

を使えますか？プレゼンテーション用の他のパッケージはありますか？ `まだ`には制限があります。実験的な [`ltx-talk` クラスをチェックしてください。](https://ctan.org/pkg/ltx-talk).

</details>

<details>

<summary>Overleaf エディタはアクセシブルですか？</summary>

はい。ウェブアプリケーションとして、Overleaf は最新のウェブブラウザが提供するアクセシビリティ機能と機能性を活用しており、これらはアクセシビリティ専門家によって定期的に評価されています。私たちの最新の完了した [自主的製品アクセシビリティテンプレート (VPAT)](https://www.overleaf.com/for/customers/vpat) は、Web コンテンツアクセシビリティガイドライン (WCAG) 2.2 レベル AA への適合を示しています。

</details>

<details>

<summary>Overleaf で作成された PDF は、アメリカ障害者法 (ADA) のタイトル II およびアクセシビリティに関する欧州の調和規格 (EN 301 549) の要件を満たせますか？</summary>

はい。米国および欧州の法令は PDF が WCAG 2.1 AA に準拠することを要求しています。WCAG 2.1 AA を満たすには、PDF がタグ付き PDF である必要があります。PDF のタグ付けのサポートは TeX Live 2025 で提供されています。

</details>

<details>

<summary>Overleaf で作成された PDF は PDF/UA-1 規格を満たせますか？</summary>

はい。LaTeX プロジェクトのタギングプロジェクトは、PDF/UA-1（および今後の PDF/UA-2）で要求される構造タグを生成するように特別に設計されています。ユーザーが LaTeX プロジェクトの現在のタグ付け推奨事項に従う場合、実質的に「PDF/UA 対応」なドキュメントを構築しており、これは米国および欧州の法令で要求される WCAG 2.1 AA の法的義務を満たす最も強力な方法です。

</details>

<details>

<summary>コンパイラを LuaLaTeX に切り替えるにはどうすればよいですか？</summary>

LaTeX タギングプロジェクトチームが推奨する LaTeX コンパイルエンジンである LuaLaTeX に切り替えるのは簡単です。Overleaf のデフォルトコンパイラは PDFLaTeX ですが、プロジェクト設定で [プロジェクト設定で LuaLaTeX に切り替える](https://docs.overleaf.com/getting-started/recompiling-your-project/selecting-a-tex-live-version-and-latex-compiler).

</details>

<details>

<summary>ことができます。</summary>

最新の TeX Live バージョンはどこで選択できますか？ [最新のものは](https://www.overleaf.com/labs/participate)Overleaf Labs

で入手できます。ここでは Overleaf の「ローリング TeX Live」イメージへのアクセスが提供され、PDF タギングの最新機能を含みます。この実験的な TeX Live バージョンは主に TeX Live、パッケージ、および新しいアクセシビリティ機能の変更をテストし、年次の TeX Live リリースに組み込まれる前にプレビューするためのものです。 [TeX Live 2025](https://www.overleaf.com/blog/tex-live-2025-is-now-available) ほとんどの PDF タギング機能は標準のイメージで利用可能です。

</details>

[^1]: 自動タグ付けが有効になっています。

[^2]: タグ付けの構成が設定されています。

[^3]: 画像に代替テキストがあります。

[^4]: 画像はアーティファクトです。

[^5]: 画像は文字です。

[^6]: 表には 1 行のヘッダーがあります。

[^7]: 表は表示用表です。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/texlive/ja/sukiru/akuseshiburunapdfno.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
