Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions docs/reference/library/visualize.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Drawing and data visualization.
描画とデータの可視化。

If you want to create more advanced drawings or plots, also have a look at the
[CeTZ](https://github.com/johannes-wolf/cetz) package as well as more
specialized [packages]($universe) for your use case.
より高度な図やプロットを作成したい場合は、
[CeTZ](https://github.com/johannes-wolf/cetz)パッケージや、
用途に合わせた、より専門的な[パッケージ]($universe)も参照してください。

# Accessibility
# アクセシビリティ { #accessibility }

All shapes and paths drawn by Typst are automatically marked as
[artifacts]($pdf.artifact) to make them invisible to Assistive Technology (AT)
during PDF export. However, their contents (if any) remain accessible.
Typstが描画する全ての図形とパスは、PDFエクスポート時に支援技術(AT:Assistive Technology)から見えなくするために
[アーティファクト]($pdf.artifact)として自動的にマークされます。
ただし、その内容(存在する場合)はアクセシブルなままです。

If you are using the functions in this model to create an illustration with
semantic meaning, make it accessible by wrapping it in a [`figure`] function
call. Use its [`alt` parameter]($figure.alt) to provide an
[alternative description]($guides/accessibility/#textual-representations).
このカテゴリーの関数を使って意味論的意味を持つ図を作成する場合は、
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「意味論的意味」が冗長に見えるので「意味を持つ図を作成する場合は、」と単純に言い換えても良いかもしれませんが、これはテクニカルタームのようなので、このままにする場合は用語集に追加した方が良いと思います。

https://eow.alc.co.jp/search?q=semantic+meaning

単なる罫線・背景の模様・装飾的なアイコンなどの装飾的な図と、グラフ・フローチャート・アーキテクチャ図などの、その図自体が読者に伝えるべき情報(意味)を持っているものの2つの図の種類があり、semantic meaningは後者であるという説明があると良いでしょうか?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

代替テキスト(alt)などを通じてその意味を伝える必要がある/ない図、スクリーンリーダー(音声読み上げソフト)に読み上げられる/無視されるべき図という説明もできると思います。

[`figure`]関数で囲んでアクセシブルにしてください。
[テキストによる表現]($guides/accessibility/#textual-representations)を提供するには、
figure関数の [`alt`パラメーター]($figure.alt)で指定します。
2 changes: 1 addition & 1 deletion website/translation-status.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"/docs/reference/layout/h/": "translated",
"/docs/reference/layout/v/": "translated",
"/docs/reference/layout/stack/": "partially_translated",
"/docs/reference/visualize/": "untranslated",
"/docs/reference/visualize/": "translated",
"/docs/reference/visualize/circle/": "untranslated",
"/docs/reference/visualize/color/": "untranslated",
"/docs/reference/visualize/curve/": "untranslated",
Expand Down
Loading