We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

ime-mode Redirect 1


The ime-mode CSS property controls the state of the input method editor for text fields.


Formal syntax: auto | normal | active | inactive | disabled
ime-mode: auto
ime-mode: normal
ime-mode: active
ime-mode: inactive
ime-mode: disabled

ime-mode: inherit


No change is made to the current input method editor state. This is the default.
The IME state should be normal; this value can be used in a user style sheet to override the page setting. This value is not supported by Internet Explorer.
The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it. Not supported on Linux.
The input method editor is initially inactive, but the user may activate it if they wish. Not supported on Linux.
The input method editor is disabled and may not be activated by the user.


<input type="text" name="name" value="initial value" style="ime-mode: disabled">

This example disables input method support for a field; this might be necessary for fields that enter data into a database that doesn't support extended character sets, for example.


Unlike in Internet Explorer, the Firefox implementation of ime-mode allows this property to apply to password editing fields. However, this does not make for an ideal user experience, and password fields should disable the IME. Users may correct the inappropriate behavior of sites that don't follow this recommendation by placing the following CSS into their user CSS file:

input[type=password] {
    ime-mode: auto !important;

Note: In general, it's not appropriate for a public web site to manipulate the IME mode setting. This property should be used for web applications and the like.

The Macintosh version of Gecko 1.9 (Firefox 3) can't recover the previous state of the IME when a field for which it is disabled loses focus, so Mac users may get grumpy when you use the disabled value.

Note: Don't rely on disabling IME to prevent extended characters from passing through your form. Even with IME disabled, users can still paste extended characters into your form's fields.


Specification Status Comment
CSS Basic User Interface Module Level 3 Working Draft  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support Not supported 3.0 (1.9) 5.0 Not supported Not supported
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

IE8 introduced -ms-ime-mode as a synonym for ime-mode. Don't use the -ms- prefix.

See also

Document Tags and Contributors

Last updated by: Sheppy,