# TreeView A framework-agnostic, WCAG-conformant **tree view** in vanilla TypeScript. It is a faithful, heavily-documented implementation of the [WAI-ARIA APG *Tree View* pattern](https://www.w3.org/WAI/ARIA/apg/patterns/treeview/), written so it can double as a reference you hand to an LLM (or a person) to reproduce in React, Vue, Svelte, etc. without losing accessibility semantics. The class **enhances** semantic nested-list markup rather than generating it, so the tree degrades gracefully to a plain nested list without JavaScript. ## Markup contract Provide nested `