Share via


INPUT type=password Element

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

accDoDefaultAction Returns E_NOTIMPL.
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 Returns E_NOTIMPL.
get_accDescription Returns the title if there is a label. Otherwise, the method returns a NULL pointer and 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 the label is missing, the method returns the title. If both title and label are missing, the method returns a NULL pointer and S_OK.
get_accParent Returns the closest accessible element in the parent chain.
get_accRole Returns ROLE_SYSTEM_TEXT. The text in the password control can be edited.
get_accSelection See About Selection.
get_accState Returns one or more of STATE_SYSTEM_UNAVAILABLE, STATE_SYSTEM_INVISIBLE, STATE_SYSTEM_FOCUSABLE, and STATE_SYSTEM_FOCUSED. As of Microsoft Internet Explorer 6, also returns STATE_SYSTEM_OFFSCREEN. For more information, see About Invisible Objects.
get_accValue Returns E_ACCESSDENIED.
put_accName Returns E_NOTIMPL.
put_accValue Performs a ScrollIntoView and Focus action and sets the value of the password.