
If there exists an appropriate named key attribute value for this Let key be a DOMString initially set to " Unidentified". To select an appropriate key attribute value to store in a KeyboardEvent's key attribute, run these steps: select an appropriate key attribute value "Mark, Spacing Combining" ("Mc") General Category or with a non-zeroĢ.2.1. Those that are part of the "Other, Control" ("Cc") General Category.Ī combining character is any valid Unicode character in the Ī non-control character is any valid Unicode character except The string MUSTīe in Normalized Form C (NFC) as described in. Unicode strings that are appropriate for use as a key attribute value.Ī key string is a string containing a 0 or 1 non-control characters ("base" characters) followed by 0 or more combining characters. We introduce the concept of a key string to identify the set of There is a small set of Unicode characters which MUST NOT be used. Unicode ValuesĪlmost every Unicode character can be used as a valid key attribute value, but The KeyboardEvent's location attribute can be used to determine if a key Numeric keypad (e.g., the keypad 1 key) will generate the same key attribute values as their non-keypad counterparts (e.g., the 1 key For example, on an EN-US keyboard layout, the keys on the It is acceptable for multiple keys on a keyboard to generate the same key attribute value. Two categories (even if the value is " Unidentified"). Setting, modifier state, and any system-level keyboard mapping overrides that areĪ named key attribute value, as defined by the tables in this document.Ī key attribute value MUST always contain a value that falls into one of these

The character typed by the user, taking into account the user’s current locale Keyboard Event key Attribute ValuesĪ key attribute value is defined as being a string that contains one of code) are shown as: "ArrowDown", "Equal" or "KeyQ".
F1 2010 PRODUCT KEY GENERATOR 2016 AND SOFTWARE 2016 CODE
Valid key code attribute values (i.e., the key) are shown as: " ArrowDown", "=", "q" or "Q". Valid key attribute values (i.e., the value of KeyboardEvent. Unicode code points are shown as: U+003d. Glyphs representing character are shown as: "a", "é", "ر", "字". Key from the user’s perspective without regard for the key and code values in the The key cap printed on a key is shown as ↓, = or Q. This specification uses the following conventions: Physical location on the keyboard and does not vary based on locale, see code described in. For a value that is based only on the key’s Note that the key value for a particular key will differīased on the user’s current locale setting.

This document specifies the set of valid key attribute values that MUST be used

This Candidate Recommendation is expected to advance to Proposed Recommendation no earlier than 29 June 2017. W3C publishes a Candidate Recommendation to indicate that the document is believed to be stable and to encourage implementation by the developer community. If you wish to make comments regarding this document, please send them ( subscribe,Īrchives) with at the start of your email's subject or file a GitHub issue.

This document is intended to become a W3C Recommendation. This document was published by the Web Platform Working Group as a Candidate Recommendation. Please also see the implementation report for UI Events KeyboardEvent code Values. The Working Group expects to demonstrate 2 implementations of the features listed in this specification by the end of the Candidate Recommendation phase. The Web Platform Working Group maintains a test suite for this specification. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at. Other documents may supersede this document. This section describes the status of this document at the time of its publication.
