api.KeyboardEvent.key

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 51 on 2016-05-25 Note: When selecting an autocomplete suggestion, a keydown event fires where the event's key property is undefined. See bug 41425904.

In Chrome Android version 51 on 2016-06-08 Note: When selecting an autocomplete suggestion, a keydown event fires where the event's key property is undefined. See bug 41425904.

In Edge version 12 on 2015-07-29

In Firefox version 23 on 2013-08-06

In Firefox for Android version 23 on 2013-08-06

In Internet Explorer version 9 on 2011-03-14 Note: IE's implementation does not completely match the current spec because it is based on an older version of the spec.

In Quest Browser version 5.0 on undefined Note: When selecting an autocomplete suggestion, a keydown event fires where the event's key property is undefined. See bug 41425904.

In Opera version 38 on 2016-06-08 Note: When selecting an autocomplete suggestion, a keydown event fires where the event's key property is undefined. See bug 41425904.

In Opera Android version 41 on 2016-10-25 Note: When selecting an autocomplete suggestion, a keydown event fires where the event's key property is undefined. See bug 41425904.

In Safari version 10.1 on 2017-03-27

In Safari on iOS version 10.3 on 2017-03-27

In Samsung Internet version 5.0 on 2016-12-15 Note: When selecting an autocomplete suggestion, a keydown event fires where the event's key property is undefined. See bug 41425904.

In WebView Android version 51 on 2016-06-08 Note: When selecting an autocomplete suggestion, a keydown event fires where the event's key property is undefined. See bug 41425904.

In WebView on iOS version 10.3 on 2017-03-27