MathMLElement: autofocus property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨February 2023⁩.

The autofocus property of the MathMLElement interface contains a boolean value reflecting the autofocus HTML global attribute. It indicates whether the MathML element should be focused when the page loads or when the element becomes shown if the MathML element is inside a <dialog> or a popover.