Math: emit MathML beside the KaTeX so screen readers can read it #19
Loading…
Reference in a new issue
No description provided.
Delete branch "void/math-mathml"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Built pages had only aria-hidden KaTeX. katexOptions.output = htmlAndMathml.
Verified on a site build (Edge/Chromium on Starfire) with an injected 250-term formula, output html vs htmlAndMathml:
<span class="katex-mathml"><math>…before.katex-html aria-hidden; visible KaTeX unchanged..katex-mathmlcomputes position:absolute, 1x1px, clip rect(1px,1px,1px,1px): visually hidden.Depends on GameCult-Quartz void/katex-output-option for the option's type only; the runtime already honoured it. Not merged; awaiting review.
🤖 Generated with Claude Code