summaryrefslogtreecommitdiff
path: root/devdocs/html/global_attributes.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/html/global_attributes.html
new repository
Diffstat (limited to 'devdocs/html/global_attributes.html')
-rw-r--r--devdocs/html/global_attributes.html638
1 files changed, 638 insertions, 0 deletions
diff --git a/devdocs/html/global_attributes.html b/devdocs/html/global_attributes.html
new file mode 100644
index 00000000..f84d2a96
--- /dev/null
+++ b/devdocs/html/global_attributes.html
@@ -0,0 +1,638 @@
+<header><h1>Global attributes</h1></header><div class="section-content">
+<p><strong>Global attributes</strong> are attributes common to all HTML elements; they can be used on all elements, though they may have no effect on some elements.</p> <p>Global attributes may be specified on all <a href="element">HTML elements</a>, <em>even those not specified in the standard</em>. That means that any non-standard elements must still permit these attributes, even though using those elements means that the document is no longer HTML5-compliant. For example, HTML5-compliant browsers hide content marked as <code>&lt;foo hidden&gt;…&lt;/foo&gt;</code>, even though <code>&lt;foo&gt;</code> is not a valid HTML element.</p> <p>In addition to the basic HTML global attributes, the following global attributes also exist:</p> <ul> <li>
+<code>xml:lang</code> and <code>xml:base</code> — these are inherited from the XHTML specifications and deprecated, but kept for compatibility purposes.</li> <li>The ARIA <a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles"><code>role</code></a> attribute and the multiple <a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes"><code>aria-*</code></a> states and properties, used for ensuring accessibility.</li> <li>The <a href="attributes#event_handler_attributes">event handler</a> attributes: <code>onabort</code>, <code>onautocomplete</code>, <code>onautocompleteerror</code>, <code>onblur</code>, <code>oncancel</code>, <code>oncanplay</code>, <code>oncanplaythrough</code>, <code>onchange</code>, <code>onclick</code>, <code>onclose</code>, <code>oncontextmenu</code>, <code>oncuechange</code>, <code>ondblclick</code>, <code>ondrag</code>, <code>ondragend</code>, <code>ondragenter</code>, <code>ondragleave</code>, <code>ondragover</code>, <code>ondragstart</code>, <code>ondrop</code>, <code>ondurationchange</code>, <code>onemptied</code>, <code>onended</code>, <code>onerror</code>, <code>onfocus</code>, <code>oninput</code>, <code>oninvalid</code>, <code>onkeydown</code>, <code>onkeypress</code>, <code>onkeyup</code>, <code>onload</code>, <code>onloadeddata</code>, <code>onloadedmetadata</code>, <code>onloadstart</code>, <code>onmousedown</code>, <code>onmouseenter</code>, <code>onmouseleave</code>, <code>onmousemove</code>, <code>onmouseout</code>, <code>onmouseover</code>, <code>onmouseup</code>, <code>onmousewheel</code>, <code>onpause</code>, <code>onplay</code>, <code>onplaying</code>, <code>onprogress</code>, <code>onratechange</code>, <code>onreset</code>, <code>onresize</code>, <code>onscroll</code>, <code>onseeked</code>, <code>onseeking</code>, <code>onselect</code>, <code>onshow</code>, <code>onsort</code>, <code>onstalled</code>, <code>onsubmit</code>, <code>onsuspend</code>, <code>ontimeupdate</code>, <code>ontoggle</code>, <code>onvolumechange</code>, <code>onwaiting</code>.</li> </ul>
+</div>
+<h2 id="list_of_global_attributes">List of global attributes</h2>
+<div class="section-content">
+<dl> <dt id="sect1"><a href="global_attributes/accesskey"><code>accesskey</code></a></dt> <dd> <p>Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout.</p> </dd> <dt id="sect2"><a href="global_attributes/autocapitalize"><code>autocapitalize</code></a></dt> <dd> <p>Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:</p> <ul> <li>
+<code>off</code> or <code>none</code>, no autocapitalization is applied (all letters default to lowercase)</li> <li>
+<code>on</code> or <code>sentences</code>, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase</li> <li>
+<code>words</code>, the first letter of each word defaults to a capital letter; all other letters default to lowercase</li> <li>
+<code>characters</code>, all letters should default to uppercase</li> </ul> </dd> <dt id="sect3"><a href="global_attributes/autofocus"><code>autofocus</code></a></dt> <dd> <p>Indicates that an element is to be focused on page load, or as soon as the <a href="element/dialog"><code>&lt;dialog&gt;</code></a> it is part of is displayed. This attribute is a boolean, initially false.</p> </dd> <dt id="sect4"><a href="global_attributes/class"><code>class</code></a></dt> <dd> <p>A space-separated list of the classes of the element. Classes allow CSS and JavaScript to select and access specific elements via the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Class_selectors">class selectors</a> or functions like the method <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName"><code>Document.getElementsByClassName()</code></a>.</p> </dd> <dt id="sect5"><a href="global_attributes/contenteditable"><code>contenteditable</code></a></dt> <dd> <p>An <a href="https://developer.mozilla.org/en-US/docs/Glossary/Enumerated">enumerated</a> attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:</p> <ul> <li>
+<code>true</code> or the <em>empty string</em>, which indicates that the element must be editable;</li> <li>
+<code>false</code>, which indicates that the element must not be editable.</li> </ul> </dd> <dt id="sect6">
+<a href="global_attributes/contextmenu"><code>contextmenu</code></a> <abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites."> <span class="visually-hidden">Deprecated</span> </abbr>
+</dt> <dd> <p>The <a href="#id"><code>id</code></a> of a <a href="element/menu"><code>&lt;menu&gt;</code></a> to use as the contextual menu for this element.</p> </dd> <dt id="sect7"><a href="global_attributes/data-*"><code>data-*</code></a></dt> <dd> <p>Forms a class of attributes, called custom data attributes, that allow proprietary information to be exchanged between the <a href="index">HTML</a> and its <a href="https://developer.mozilla.org/en-US/docs/Glossary/DOM">DOM</a> representation that may be used by scripts. All such custom data are available via the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement"><code>HTMLElement</code></a> interface of the element the attribute is set on. The <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset"><code>HTMLElement.dataset</code></a> property gives access to them.</p> </dd> <dt id="sect8"><a href="global_attributes/dir"><code>dir</code></a></dt> <dd> <p>An enumerated attribute indicating the directionality of the element's text. It can have the following values:</p> <ul> <li>
+<code>ltr</code>, which means <em>left to right</em> and is to be used for languages that are written from the left to the right (like English);</li> <li>
+<code>rtl</code>, which means <em>right to left</em> and is to be used for languages that are written from the right to the left (like Arabic);</li> <li>
+<code>auto</code>, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element.</li> </ul> </dd> <dt id="sect9"><a href="global_attributes/draggable"><code>draggable</code></a></dt> <dd> <p>An enumerated attribute indicating whether the element can be dragged, using the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API">Drag and Drop API</a>. It can have the following values:</p> <ul> <li>
+<code>true</code>, which indicates that the element may be dragged</li> <li>
+<code>false</code>, which indicates that the element may not be dragged.</li> </ul> </dd> <dt id="sect10"><a href="global_attributes/enterkeyhint"><code>enterkeyhint</code></a></dt> <dd> <p>Hints what action label (or icon) to present for the enter key on virtual keyboards.</p> </dd> <dt id="sect11">
+<a href="global_attributes/exportparts"><code>exportparts</code></a> <abbr class="icon icon-experimental" title="Experimental. Expect behavior to change in the future."> <span class="visually-hidden">Experimental</span> </abbr>
+</dt> <dd> <p>Used to transitively export shadow parts from a nested shadow tree into a containing light tree.</p> </dd> <dt id="sect12"><a href="global_attributes/hidden"><code>hidden</code></a></dt> <dd> <p>An enumerated attribute indicating that the element is not yet, or is no longer, <em>relevant</em>. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown.</p> </dd> <dt id="sect13"><a href="global_attributes/id"><code>id</code></a></dt> <dd> <p>Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).</p> </dd> <dt id="sect14"><a href="global_attributes/inert"><code>inert</code></a></dt> <dd> <p>A boolean value that makes the browser disregard user input events for the element. Useful when click events are present.</p> </dd> <dt id="sect15"><a href="global_attributes/inputmode"><code>inputmode</code></a></dt> <dd> <p>Provides a hint to browsers about the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on <a href="element/input"><code>&lt;input&gt;</code></a> elements, but is usable on any element while in <a href="#contenteditable"><code>contenteditable</code></a> mode.</p> </dd> <dt id="sect16"><a href="global_attributes/is"><code>is</code></a></dt> <dd> <p>Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements">Using custom elements</a> for more details).</p> </dd> </dl> <div class="notecard note" id="sect17"> <p><strong>Note:</strong> The <code>item*</code> attributes are part of the <a href="https://html.spec.whatwg.org/multipage/microdata.html#microdata" target="_blank">WHATWG HTML Microdata feature</a>.</p> </div> <dl> <dt id="sect18"><a href="global_attributes/itemid"><code>itemid</code></a></dt> <dd> <p>The unique, global identifier of an item.</p> </dd> <dt id="sect19"><a href="global_attributes/itemprop"><code>itemprop</code></a></dt> <dd> <p>Used to add properties to an item. Every HTML element may have an <code>itemprop</code> attribute specified, where an <code>itemprop</code> consists of a name and value pair.</p> </dd> <dt id="sect20"><a href="global_attributes/itemref"><code>itemref</code></a></dt> <dd> <p>Properties that are not descendants of an element with the <code>itemscope</code> attribute can be associated with the item using an <code>itemref</code>. It provides a list of element ids (not <code>itemid</code>s) with additional properties elsewhere in the document.</p> </dd> <dt id="sect21"><a href="global_attributes/itemscope"><code>itemscope</code></a></dt> <dd> <p><code>itemscope</code> (usually) works along with <a href="global_attributes/itemtype"><code>itemtype</code></a> to specify that the HTML contained in a block is about a particular item. <code>itemscope</code> creates the Item and defines the scope of the <code>itemtype</code> associated with it. <code>itemtype</code> is a valid URL of a vocabulary (such as <a href="https://schema.org/" target="_blank">schema.org</a>) that describes the item and its properties context.</p> </dd> <dt id="sect22"><a href="global_attributes/itemtype"><code>itemtype</code></a></dt> <dd> <p>Specifies the URL of the vocabulary that will be used to define <code>itemprop</code>s (item properties) in the data structure. <a href="global_attributes/itemscope"><code>itemscope</code></a> is used to set the scope of where in the data structure the vocabulary set by <code>itemtype</code> will be active.</p> </dd> <dt id="sect23"><a href="global_attributes/lang"><code>lang</code></a></dt> <dd> <p>Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one "language tag" (made of hyphen-separated "language subtags") in the format defined in <a href="https://datatracker.ietf.org/doc/html/rfc5646" target="_blank">RFC 5646: Tags for Identifying Languages (also known as BCP 47)</a>. <code>xml:lang</code> has priority over it.</p> </dd> <dt id="sect24"><a href="global_attributes/nonce"><code>nonce</code></a></dt> <dd> <p>A cryptographic nonce ("number used once") which can be used by <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP">Content Security Policy</a> to determine whether or not a given fetch will be allowed to proceed.</p> </dd> <dt id="sect25"><a href="global_attributes/part"><code>part</code></a></dt> <dd> <p>A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part"><code>::part</code></a> pseudo-element.</p> </dd> <dt id="sect26"><a href="global_attributes/popover"><code>popover</code></a></dt> <dd> <p>Used to designate an element as a popover element (see <a href="https://developer.mozilla.org/en-US/docs/Web/API/Popover_API">Popover API</a>). Popover elements are hidden via <code>display: none</code> until opened via an invoking/control element (i.e. a <code>&lt;button&gt;</code> or <code>&lt;input type="button"&gt;</code> with a <a href="element/button#popovertarget"><code>popovertarget</code></a> attribute) or a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/showPopover"><code>HTMLElement.showPopover()</code></a> call.</p> </dd> <dt id="sect27"><a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles"><code>role</code></a></dt> <dd> <p>Roles define the semantic meaning of content, allowing screen readers and other tools to present and support interaction with an object in a way that is consistent with user expectations of that type of object. <code>roles</code> are added to HTML elements using <code>role="role_type"</code>, where <code>role_type</code> is the name of a role in the ARIA specification.</p> </dd> <dt id="sect28"><a href="global_attributes/slot"><code>slot</code></a></dt> <dd> <p>Assigns a slot in a <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM">shadow DOM</a> shadow tree to an element: An element with a <code>slot</code> attribute is assigned to the slot created by the <a href="element/slot"><code>&lt;slot&gt;</code></a> element whose <a href="element/slot#name"><code>name</code></a> attribute's value matches that <code>slot</code> attribute's value.</p> </dd> <dt id="sect29"><a href="global_attributes/spellcheck"><code>spellcheck</code></a></dt> <dd> <p>An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:</p> <ul> <li>empty string or <code>true</code>, which indicates that the element should be, if possible, checked for spelling errors;</li> <li>
+<code>false</code>, which indicates that the element should not be checked for spelling errors.</li> </ul> </dd> <dt id="sect30"><a href="global_attributes/style"><code>style</code></a></dt> <dd> <p>Contains <a href="https://developer.mozilla.org/en-US/docs/Web/CSS">CSS</a> styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the <a href="element/style"><code>&lt;style&gt;</code></a> element have mainly the purpose of allowing for quick styling, for example for testing purposes.</p> </dd> <dt id="sect31"><a href="global_attributes/tabindex"><code>tabindex</code></a></dt> <dd> <p>An integer attribute indicating if the element can take input focus (is <em>focusable</em>), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:</p> <ul> <li>a <em>negative value</em> means that the element should be focusable, but should not be reachable via sequential keyboard navigation;</li> <li>
+<code>0</code> means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;</li> <li>a <em>positive value</em> means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the <a href="#tabindex"><strong>tabindex</strong></a>. If several elements share the same tabindex, their relative order follows their relative positions in the document.</li> </ul> </dd> <dt id="sect32"><a href="global_attributes/title"><code>title</code></a></dt> <dd> <p>Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip.</p> </dd> <dt id="sect33"><a href="global_attributes/translate"><code>translate</code></a></dt> <dd> <p>An enumerated attribute that is used to specify whether an element's attribute values and the values of its <a href="https://developer.mozilla.org/en-US/docs/Web/API/Text"><code>Text</code></a> node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:</p> <ul> <li>empty string or <code>yes</code>, which indicates that the element will be translated.</li> <li>
+<code>no</code>, which indicates that the element will not be translated.</li> </ul> </dd> <dt id="sect34"><a href="global_attributes/virtualkeyboardpolicy"><code>virtualkeyboardpolicy</code></a></dt> <dd> <p>An <a href="https://developer.mozilla.org/en-US/docs/Glossary/Enumerated">enumerated</a> attribute used to control the on-screen virtual keyboard behavior on devices such as tablets, mobile phones, or other devices where a hardware keyboard may not be available for elements that also uses the <a href="#contenteditable"><code>contenteditable</code></a> attribute.</p> <ul> <li>
+<code>auto</code> or an <em>empty string</em>, which automatically shows the virtual keyboard when the element is focused or tapped.</li> <li>
+<code>manual</code>, which decouples focus and tap on the element from the virtual keyboard's state.</li> </ul> </dd> </dl>
+</div>
+<h2 id="specifications">Specifications</h2>
+<div class="_table"><table class="standard-table">
+<thead><tr><th scope="col">Specification</th></tr></thead>
+<tbody>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute">HTML Standard <br><small># the-accesskey-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-autocapitalize">HTML Standard <br><small># attr-autocapitalize</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete">HTML Standard <br><small># attr-fe-autocomplete</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#dom-fe-autofocus">HTML Standard <br><small># dom-fe-autofocus</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes:classes-2">HTML Standard <br><small># global-attributes:classes-2</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable">HTML Standard <br><small># attr-contenteditable</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#attr-data-*">HTML Standard <br><small># attr-data-*</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#the-dir-attribute">HTML Standard <br><small># the-dir-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dnd.html#the-draggable-attribute">HTML Standard <br><small># the-draggable-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-enterkeyhint">HTML Standard <br><small># attr-enterkeyhint</small></a></td></tr>
+<tr><td><a href="https://drafts.csswg.org/css-shadow-parts/#element-attrdef-html-global-exportparts">CSS Shadow Parts <br><small># element-attrdef-html-global-exportparts</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute">HTML Standard <br><small># the-hidden-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes:the-id-attribute-2">HTML Standard <br><small># global-attributes:the-id-attribute-2</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#the-inert-attribute">HTML Standard <br><small># the-inert-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-inputmode">HTML Standard <br><small># attr-inputmode</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is">HTML Standard <br><small># attr-is</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/microdata.html#attr-itemid">HTML Standard <br><small># attr-itemid</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/microdata.html#names:-the-itemprop-attribute">HTML Standard <br><small># names:-the-itemprop-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/microdata.html#attr-itemref">HTML Standard <br><small># attr-itemref</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/microdata.html#attr-itemscope">HTML Standard <br><small># attr-itemscope</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/microdata.html#attr-itemtype">HTML Standard <br><small># attr-itemtype</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#attr-lang">HTML Standard <br><small># attr-lang</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#attr-nonce">HTML Standard <br><small># attr-nonce</small></a></td></tr>
+<tr><td><a href="https://drafts.csswg.org/css-shadow-parts/#part-attr">CSS Shadow Parts <br><small># part-attr</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute">HTML Standard <br><small># the-popover-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/popover.html#attr-popovertarget">HTML Standard <br><small># attr-popovertarget</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/popover.html#attr-popovertargetaction">HTML Standard <br><small># attr-popovertargetaction</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#attr-slot">HTML Standard <br><small># attr-slot</small></a></td></tr>
+<tr><td><a href="#">DOM Standard <br><small># ref-for-dom-element-slot①</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-spellcheck">HTML Standard <br><small># attr-spellcheck</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#the-style-attribute">HTML Standard <br><small># the-style-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex">HTML Standard <br><small># attr-tabindex</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#the-title-attribute">HTML Standard <br><small># the-title-attribute</small></a></td></tr>
+<tr><td><a href="https://html.spec.whatwg.org/multipage/dom.html#attr-translate">HTML Standard <br><small># attr-translate</small></a></td></tr>
+<tr><td><a href="https://w3c.github.io/virtual-keyboard/#dom-elementcontenteditable-virtualkeyboardpolicy">VirtualKeyboard API <br><small># dom-elementcontenteditable-virtualkeyboardpolicy</small></a></td></tr>
+</tbody>
+</table></div>
+<h2 id="browser_compatibility">Browser compatibility</h2>
+<div class="_table"><table>
+<thead>
+<tr id="bct-browser-type">
+<th></th>
+<th colspan="6">Desktop</th>
+<th colspan="6">Mobile</th>
+</tr>
+<tr id="bct-browsers">
+<th></th>
+<th>Chrome</th>
+<th>Edge</th>
+<th>Firefox</th>
+<th>Internet Explorer</th>
+<th>Opera</th>
+<th>Safari</th>
+<th>WebView Android</th>
+<th>Chrome Android</th>
+<th>Firefox for Android</th>
+<th>Opera Android</th>
+<th>Safari on IOS</th>
+<th>Samsung Internet</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<th><code>accesskey</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">≤4</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">≤3.2</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>autocapitalize</code></th>
+<td class="bc-supports-yes">43</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">111</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">30</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">43</td>
+<td class="bc-supports-yes">43</td>
+<td class="bc-supports-yes">111</td>
+<td class="bc-supports-yes">30</td>
+<td class="bc-supports-yes">5</td>
+<td class="bc-supports-yes">4.0</td>
+</tr>
+<tr>
+<th><code>autocomplete</code></th>
+<td class="bc-supports-yes"><details><summary>14</summary>["In Chrome 66, support was added for the <code>&lt;textarea&gt;</code> and <code>&lt;select&gt;</code> elements.", "Originally only supported on the <code>&lt;input&gt;</code> element.", "Chrome does not accept <code>off</code> as a value. See <a href="https://crbug.com/587466">bug 587466</a>."]</details></td>
+<td class="bc-supports-yes">≤79</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">≤12.1</td>
+<td class="bc-supports-yes">6</td>
+<td class="bc-supports-yes"><details><summary>4.4</summary>["In Chrome 66, support was added for the <code>&lt;textarea&gt;</code> and <code>&lt;select&gt;</code> elements.", "Originally only supported on the <code>&lt;input&gt;</code> element.", "Chrome does not accept <code>off</code> as a value. See <a href="https://crbug.com/587466">bug 587466</a>."]</details></td>
+<td class="bc-supports-yes"><details><summary>18</summary>["In Chrome 66, support was added for the <code>&lt;textarea&gt;</code> and <code>&lt;select&gt;</code> elements.", "Originally only supported on the <code>&lt;input&gt;</code> element.", "Chrome does not accept <code>off</code> as a value. See <a href="https://crbug.com/587466">bug 587466</a>."]</details></td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">≤12.1</td>
+<td class="bc-supports-yes">6</td>
+<td class="bc-supports-yes"><details><summary>1.0</summary>["In Samsung Internet 9.0, support was added for the <code>&lt;textarea&gt;</code> and <code>&lt;select&gt;</code> elements.", "Originally only supported on the <code>&lt;input&gt;</code> element.", "Samsung Internet does not accept <code>off</code> as a value. See <a href="https://crbug.com/587466">bug 587466</a>."]</details></td>
+</tr>
+<tr>
+<th><code>autofocus</code></th>
+<td class="bc-supports-yes">79<details><summary>1–79</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details>
+</td>
+<td class="bc-supports-yes">79<details><summary>12–79</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details>
+</td>
+<td class="bc-supports-yes"><details><summary>1</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details></td>
+<td class="bc-supports-yes"><details><summary>10</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details></td>
+<td class="bc-supports-yes">66<details><summary>≤12.1–66</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details>
+</td>
+<td class="bc-supports-yes"><details><summary>4</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details></td>
+<td class="bc-supports-yes">79<details><summary>≤37–79</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details>
+</td>
+<td class="bc-supports-yes">79<details><summary>18–79</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details>
+</td>
+<td class="bc-supports-yes"><details><summary>4</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details></td>
+<td class="bc-supports-yes">57<details><summary>≤12.1–57</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details>
+</td>
+<td class="bc-supports-yes"><details><summary>3.2</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details></td>
+<td class="bc-supports-yes">12.0<details><summary>1.0–12.0</summary>Supported for the <code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, and <code>&lt;textarea&gt;</code> elements.</details>
+</td>
+</tr>
+<tr>
+<th><code>class</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">≤4</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">≤3.2</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>contenteditable</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">3</td>
+<td class="bc-supports-yes">5.5</td>
+<td class="bc-supports-yes">9</td>
+<td class="bc-supports-yes">≤4</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">≤3.2</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>contextmenu</code></th>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">9–85</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no"><details><summary>32–56</summary>Support for the <code>contextmenu</code> attribute has been removed from Firefox for Android (See <a href="https://bugzil.la/1424252">bug 1424252</a>).</details></td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+</tr>
+<tr>
+<th><code>data_attributes</code></th>
+<td class="bc-supports-yes">7</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">6</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">5.1</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">6</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">5</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>dir</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">≤4</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">≤3.2</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>draggable</code></th>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">2</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">5</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">4.2</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>enterkeyhint</code></th>
+<td class="bc-supports-yes">77</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">94</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">66</td>
+<td class="bc-supports-yes">13.1</td>
+<td class="bc-supports-yes">77</td>
+<td class="bc-supports-yes">77</td>
+<td class="bc-supports-yes">94</td>
+<td class="bc-supports-yes">57</td>
+<td class="bc-supports-yes">13.4</td>
+<td class="bc-supports-yes">12.0</td>
+</tr>
+<tr>
+<th><code>exportparts</code></th>
+<td class="bc-supports-yes">73</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">72</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">60</td>
+<td class="bc-supports-yes">13.1</td>
+<td class="bc-supports-yes">73</td>
+<td class="bc-supports-yes">73</td>
+<td class="bc-supports-yes">79</td>
+<td>?</td>
+<td class="bc-supports-yes">13.4</td>
+<td class="bc-supports-yes">11.0</td>
+</tr>
+<tr>
+<th><code>hidden</code></th>
+<td class="bc-supports-yes">10</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">11</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">5.1</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">5</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>id</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">32<details><summary>1–32</summary><code>id</code> is a true global attribute only since Firefox 32.</details>
+</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">32<details><summary>4–32</summary><code>id</code> is a true global attribute only since Firefox 32.</details>
+</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>inert</code></th>
+<td class="bc-supports-yes">102</td>
+<td class="bc-supports-yes">102</td>
+<td class="bc-supports-yes">112</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">88</td>
+<td class="bc-supports-yes">15.5</td>
+<td class="bc-supports-yes">102</td>
+<td class="bc-supports-yes">102</td>
+<td class="bc-supports-yes">112</td>
+<td class="bc-supports-yes">70</td>
+<td class="bc-supports-yes">15.5</td>
+<td class="bc-supports-yes">19.0</td>
+</tr>
+<tr>
+<th><code>inputmode</code></th>
+<td class="bc-supports-yes">66</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">9517–23</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">53</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">66</td>
+<td class="bc-supports-yes">66</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">47</td>
+<td class="bc-supports-yes">12.2</td>
+<td class="bc-supports-yes">9.0</td>
+</tr>
+<tr>
+<th><code>is</code></th>
+<td class="bc-supports-yes">67</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">63</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">54</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">67</td>
+<td class="bc-supports-yes">67</td>
+<td class="bc-supports-yes">63</td>
+<td class="bc-supports-yes">48</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">9.0</td>
+</tr>
+<tr>
+<th><code>itemid</code></th>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+</tr>
+<tr>
+<th><code>itemprop</code></th>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+</tr>
+<tr>
+<th><code>itemref</code></th>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+</tr>
+<tr>
+<th><code>itemscope</code></th>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+</tr>
+<tr>
+<th><code>itemtype</code></th>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+</tr>
+<tr>
+<th><code>lang</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">≤4</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">≤3.2</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>nonce</code></th>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">31</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">31</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+</tr>
+<tr>
+<th><code>part</code></th>
+<td class="bc-supports-yes">73</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">72</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">60</td>
+<td class="bc-supports-yes">13.1</td>
+<td class="bc-supports-yes">73</td>
+<td class="bc-supports-yes">73</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">52</td>
+<td class="bc-supports-yes">13.4</td>
+<td class="bc-supports-yes">11.0</td>
+</tr>
+<tr>
+<th><code>popover</code></th>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">100</td>
+<td class="bc-supports-yes">17</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">17</td>
+<td class="bc-supports-no">No</td>
+</tr>
+<tr>
+<th><code>popovertarget</code></th>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">100</td>
+<td class="bc-supports-yes">17</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">17</td>
+<td class="bc-supports-no">No</td>
+</tr>
+<tr>
+<th><code>popovertargetaction</code></th>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">100</td>
+<td class="bc-supports-yes">17</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-yes">114</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">17</td>
+<td class="bc-supports-no">No</td>
+</tr>
+<tr>
+<th><code>slot</code></th>
+<td class="bc-supports-yes">53</td>
+<td class="bc-supports-yes">≤79</td>
+<td class="bc-supports-yes">63</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">40</td>
+<td class="bc-supports-yes">10</td>
+<td class="bc-supports-yes">53</td>
+<td class="bc-supports-yes">53</td>
+<td class="bc-supports-yes">63</td>
+<td class="bc-supports-yes">41</td>
+<td class="bc-supports-yes">10</td>
+<td class="bc-supports-yes">6.0</td>
+</tr>
+<tr>
+<th><code>spellcheck</code></th>
+<td class="bc-supports-yes">9</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">11</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">47</td>
+<td class="bc-supports-yes">47</td>
+<td class="bc-supports-yes">57</td>
+<td class="bc-supports-yes">37</td>
+<td class="bc-supports-yes">9.3</td>
+<td class="bc-supports-yes">5.0</td>
+</tr>
+<tr>
+<th><code>style</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>tabindex</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">1.5</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">≤4</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">≤3.2</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>title</code></th>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">12</td>
+<td class="bc-supports-yes">1</td>
+<td class="bc-supports-yes">Yes</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">≤4</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">18</td>
+<td class="bc-supports-yes">4</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">≤3.2</td>
+<td class="bc-supports-yes">1.0</td>
+</tr>
+<tr>
+<th><code>translate</code></th>
+<td class="bc-supports-yes">19</td>
+<td class="bc-supports-yes">79</td>
+<td class="bc-supports-yes">111</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">15</td>
+<td class="bc-supports-yes">6</td>
+<td class="bc-supports-yes">4.4</td>
+<td class="bc-supports-yes">25</td>
+<td class="bc-supports-yes">111</td>
+<td class="bc-supports-yes">14</td>
+<td class="bc-supports-yes">6</td>
+<td class="bc-supports-yes">1.5</td>
+</tr>
+<tr>
+<th><code>virtualkeyboardpolicy</code></th>
+<td class="bc-supports-yes">94</td>
+<td class="bc-supports-yes">94</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">80</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">94</td>
+<td class="bc-supports-yes">94</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">66</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">17.0</td>
+</tr>
+</tbody>
+</table></div>
+<h2 id="see_also">See also</h2>
+<div class="section-content"><ul> <li>
+<a href="https://developer.mozilla.org/en-US/docs/Web/API/Element"><code>Element</code></a> interface that allows querying most global attributes.</li> </ul></div><div class="_attribution">
+ <p class="_attribution-p">
+ &copy; 2005&ndash;2023 MDN contributors.<br>Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.<br>
+ <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes" class="_attribution-link">https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes</a>
+ </p>
+</div>