focus

attributes for elements that can get the focus
accesskey   accessibility key character
tabindex    position in tabbing order
onfocus     the element got the focus
onblur      the element lost the focus

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
accesskey Character optional
onblur Script optional
onfocus Script optional
tabindex tabindexNumber optional

Used By

Elements a, area, button, input, textarea

Source

<xs:attributeGroup name="focus">
  <xs:annotation>
    <xs:documentation>attributes for elements that can get the focus accesskey accessibility key character tabindex position in tabbing order onfocus the element got the focus onblur the element lost the focus</xs:documentation>
  </xs:annotation>
  <xs:attribute name="accesskey" type="Character"/>
  <xs:attribute name="tabindex" type="tabindexNumber"/>
  <xs:attribute name="onfocus" type="Script"/>
  <xs:attribute name="onblur" type="Script"/>
</xs:attributeGroup>