Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Password Field Representation

 

« Accessibility XForms Support Page

Summary

Password field is used for inputting passwords. Each character typed by the user is represented by an asterisk on the screen. It is used for XForms secret element (see the doc).

Exposed interfaces

Accessibility properties

nsIAccessible

  • role - ROLE_PASSWORD_TEXT
  • name - formed from value of underlying XForms label element
  • description - formed from value of underlying XForms hint element
  • state -
    • formed from states of instance node that XForms element is bound to
    • STATE_PROTECTED
  • value - the value cannot be obtained
  • action names - activate

Accessible children

This presentation doesn't require any accessible children. But Mozilla XForms implementation allows XForms elements to have child elements.

Document Tags and Contributors

 Contributors to this page: Fredchat, Sheppy, Surkov.alexander
 Last updated by: Fredchat,