Role of <munderover>
Places expressions under and over a base. Use the element for its semantic role rather than as a visual styling shortcut. Assistive technology, browser math layout, conversion tools, and copy-and-paste behavior all depend on the markup preserving the mathematical structure.
Example markup
<munderover><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>1</mn></mrow><mi>n</mi></munderover>Allowed children
base, underscript, overscript
Only place children inside <munderover> when they match the element's content model. Validate the complete MathML tree after conversion because a locally valid fragment can still be incorrect in its parent context.
Implementation notes
- Child order is base, under, over.
Accessibility and testing
- Keep a meaningful DOM structure instead of replacing the expression with an image.
- Test keyboard selection, screen-reader output, browser rendering, and conversion back to LaTeX.
- Check that fallbacks do not expose raw tags or omit the mathematical relationship represented by <munderover>.