Ptree’s tree of life explorer is built directly on native HTML, CSS, and the browser’s own accessibility tree rather than an opaque <canvas> drawing. Every taxon tile, branch disclosure, legend swatch, filter control, breadcrumb, and dialog is a real interactive DOM element that works with keyboard navigation, screen readers, browser zoom, and user font-size preferences without needing a separate text-only fallback.
Real DOM structure, not a canvas
Phylogeny viewers commonly paint onto a single <canvas> or WebGL surface, leaving assistive technologies with nothing to inspect. In Ptree, every rendered taxon is a list item carrying a native link, disclosure state (aria-expanded, aria-current), and live loading status (aria-busy). Controls are real <input> radios, checkboxes, range sliders, <button> elements, native <dialog> modals, and native popovers.
Every image carries an authored alt description, every inline SVG icon carries an accessible name where it communicates meaning, and decorative chrome is marked aria-hidden="true". Controls with visible text use that text as their accessible name without duplicate labels.
Complete keyboard navigation
Every tile in the active tree participates in native Tab order without trapping focus. Moving keyboard focus onto any taxon previews its properties, photo, and range map in the details panel exactly as pointing with a mouse does; leaving the tree restores the committed selection.
Once focus is on a tile, arrow and tree-navigation keys drive the same verbs as pointer interaction across all three layouts (Tree, Icicle, and Cladogram):
| Key | Action |
|---|---|
| Tab / Shift+Tab | Move through toolbar controls, legend filters, tree tiles, and detail tabs in native document order. |
| ↑ / ↓ | Move focus to the previous or next sibling (or terminal lane in Cladogram), scrolling it into view automatically. |
| Home / End | Jump to the first or last sibling in the current column or lane. |
| → | Descend to the first child if open, or expand a closed branch first (press → again to enter its first child). |
| ← | Step focus back to the parent taxon toward the root. |
| Enter | Select and open the focused taxon (or turn a pagination tile). |
| Ctrl+Enter / ⌘+Enter | Open an additional branch alongside the current selection in Tree view. |
| Space | Toggle a branch’s expansion pin in Tree view, open children in column views, or turn a pagination tile. |
| + / = | Expand the focused branch. |
| - | Collapse the focused branch (or step back one level in column views). |
| Esc | If roaming away from the selected taxon, snap focus back to the committed selection; press again to ascend one ancestor. Also closes open dialogs and popovers natively. |
Categorical legend cells are native toggle buttons (Enter or Space filters by that category), and numeric legend trim handles are native <input type="range"> sliders operable with arrow keys.
Color, contrast, and typography
- Color-blind-distinguishable palettes: Categorical and kingdom palettes are designed in perceptual OKLCH space so neighboring categories remain distinguishable under common forms of color vision deficiency (protanopia, deuteranopia, and tritanopia).
- Never color alone: Selection, hover, keyboard focus, and active filter rings are encoded through outlines, borders, weight, and dashed focus rings — never by overriding the tile’s encoded data color. Every category and numeric value is also written out in words and numbers in the legend and sidebar readouts.
- No data vs. low value: Unmeasured clades stay uncolored rather than reusing the bottom of a numeric ramp, and sparse coverage visibly washes out toward neutral so uncertainty is legible without hovering.
- Light and dark themes: Appearance follows your operating system’s
prefers-color-schemeautomatically, with a manual toggle in the toolbar that persists locally. - User font size and zoom: Ptree sets no hard-coded base
font-size. Every tile height, legend bar, icon, and panel co-scales inremfrom your browser’s default text size and zoom level.
Motion and audio
- Reduced motion: When
prefers-reduced-motion: reduceis enabled, tree glides, legend carousel slides, view transitions, audio-origin pings, and label marquee scrolling collapse to instant state changes without breaking layout completion. - No autoplay audio: Wildlife sound recordings from xeno-canto play only when explicitly triggered through native browser audio controls.
Range maps and non-text descriptions
Every geographic range map carries a plain-English geographic summary generated from the underlying distribution cells (for example, naming continents, oceans, latitudes, and disconnected patches) as accessible text alongside the vector map. Expanded maps include full part-by-part range readings and source methods.
Known limitations and feedback
Two parts of the interface remain less ergonomic without a pointer:
- Spatial point selection on the map: Clicking an arbitrary latitude and longitude on the expanded world map currently requires a pointer. Filtering by any named country, state, sea, lake, island, or geographic region works without a pointer through Ask or by sharing a
location=URL. - Drag-and-drop into Compare: Adding organisms to the comparison panel does not require dragging — the + add button inside Compare adds the currently selected taxon directly by keyboard or click.
If you encounter an accessibility barrier on any page or assistive technology, contact Michael Dayah with your browser, screen reader or input device, and the exploration URL. Accessibility defects are treated as real bugs.