A Small Anthology of World Poetry
Four scripts, three directions of care, one rule: every language switch is
marked with lang, so screen readers change pronunciation engines
mid-sentence.
Japanese — ruby annotations
A haiku after Bashō. Furigana readings ride above the kanji via
<ruby>/<rt>, with
<rp> parentheses as the fallback for browsers without ruby
layout:
古い池や
蛙とびこむ
水の音
An old pond — a frog leaps in — the sound of water.
Arabic — right-to-left flow
The blockquote carries both lang="ar" and
dir="rtl"; direction is set on the container, not faked with
alignment:
الليلُ طويلٌ والقمرُ ساهرٌ
والحرفُ يمشي في الورقِ نهرا
The night is long, the moon keeps watch, and the letter runs through the page like a river.
German — locale-aware quotation
The <q> element lets the browser choose quotation marks
by language — compare the German
Übung macht den Meister
with the English
practice makes perfect
: same element, different marks.
Bidirectional isolation
Contributor names arrive in unknown scripts, so each is wrapped in
<bdi> — without it, the counts can visually attach to the
wrong name:
- אביגיל — 4 translations
- سلمى — 3 translations
- Márta — 2 translations
Explicit override, for demonstration only: <bdo> forces
this English run to render backwards.
Editorial notes
The imprint name Field Guide is marked
translate="no" so machine translation leaves it alone. Foreign
phrases inside English prose take <i> with a
lang: the French call this small anthology
un florilège.