共用方式為


INPUT type=image Element

This section lists the methods supported by the INPUT type=image element.

accDoDefaultAction Performs the following actions: ScrollIntoView, Focus, and Click.
accHitTest See Hit Testing.
accLocation Specifies the location in screen coordinates.
accNavigate See About General Navigation.
accSelect Sets the focus on itself. The method supports only SELFLAG_TAKEFOCUS.
get_accChild Returns the requested child object or its ID. If you set the child ID to CHILDID_SELF, the method returns E_INVALIDARG.
get_accChildCount Returns the number of children.
get_accDefaultAction Has Check or Uncheck as the default action.
get_accDescription Returns the alt text if there is a title. Otherwise, the description is NULL and the method returns S_OK.
get_accFocus Returns CHILDID_SELF if this element has the focus. If a child of this element has the focus, the method returns information about that child. Otherwise, the method returns VT_EMPTY.
get_accHelp Returns E_NOTIMPL.
get_accHelpTopic Returns E_NOTIMPL.
get_accKeyboardShortcut Returns the keyboard shortcut in the object's accessKey property.
get_accName Returns the label. If there is no label, the method returns the title.
get_accParent Returns the closest accessible element in the parent chain.
get_accRole Returns ROLE_SYSTEM_PUSHBUTTON.
get_accSelection See About Selection.
get_accState Returns one or more of STATE_SYSTEM_UNAVAILABLE, STATE_SYSTEM_INVISIBLE, STATE_SYSTEM_FOCUSABLE, STATE_SYSTEM_FOCUSED, and STATE_SYSTEM_CHECKED. As of Microsoft Internet Explorer 6, also returns STATE_SYSTEM_OFFSCREEN. For more information, see About Invisible Objects.
get_accValue Returns E_NOTIMPL.
put_accName Returns E_NOTIMPL.
put_accValue Returns E_NOTIMPL.