MathMLElement: autofocus property

Baseline 2023
Newly available

Since February 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

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.

Value

A boolean value.

Specifications

Specification
HTML
# dom-fe-autofocus

Browser compatibility

See also