<model>
element
The `model` element allows embedding 3D graphical content into a [[HTML]] document. The `HTMLModelElement` interface then provides a means to interface with the embedded resource. Access-Control-Request-Method
This is a work on progress.
model
element
The [^model^] element is used for embedding 3D models into a document.
Content may be provided inside the [^model^] element. User agents should not show this content to the user; it is intended for web browsers which do not support [^model^], to be shown as fallback content.
autoplay
attribute
interactive
attribute
controls
attribute
crossorigin
attribute
height
attribute
loading
attribute
loop
attribute
muted
attribute
poster
attribute
The [^model/poster^] attribute gives the URL of an image file that the user agent can show while 3D content is unavailable. The attribute, if present, must contain a valid non-empty URL potentially surrounded by spaces.
src
attribute
width
attribute
[Exposed=Window] interface HTMLModelElement : HTMLElement { };
Whether a [^model^] element is exposing a user interface is not expected to affect the size of the rendering; controls are expected to be overlaid above the page content without causing any layout changes, and may disappear when the user does not need them.
When a [^model^] element represents a poster frame, the poster frame is expected to be rendered at the largest size that maintains the aspect ratio of that poster frame without being taller or wider than the [^model^] element itself, and is expected to be centered in the [^model^] element.
Additional integrations into HTML:
HTML element | Implicit ARIA semantics | ARIA roles, states and properties which MAY be used |
---|---|---|
[^model^] | TBD | TBD |
[[wai-aria-1.2]] | No corresponding role |
---|---|
MSAA + IAccessible2 |
Not mapped
|
UIA |
Not mapped
|
ATK |
Not mapped
|
AX |
Not mapped
|
Comments |
The following are some significant changes that were made since the initial proposal: