W3C home > Mailing lists > Public > www-international@w3.org > October to December 2016

[uievents] Issue: Printable control characters needs refinement marked as i18n-comment

From: r12a via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Dec 2016 14:12:58 +0000
To: www-international@w3.org
Message-ID: <issues.labeled-196068106-None-sysbot+gh@w3.org>
r12a has just labeled an issue for https://github.com/w3c/uievents as 
"i18n-comment":

== Printable control characters needs refinement ==
https://w3c.github.io/uievents/#keys-guidelines

> If the key generates a printable character, and there exists an 
appropriate Unicode code point, then the key attribute MUST be a 
string consisting of the char value of that character.

https://w3c.github.io/uievents/#interface-keyboardevent

> KeyboardEventInit . key ... If the key is not a printable character,
 then it should be one of the key values defined in [UIEvents-Key]. 

https://w3c.github.io/uievents-key/#key-value-tables
2. Keyboard Event key Value Tables

> If the key represents one of the set of printable control characters
 which has a Unicode character entry

It would be useful to have a definition of 'printable characters' in 
the glossary, and to point to that where the term is used in this 
technical sense.

However, that definition may need some careful wording. For example, I
 assume that it includes characters such as ZWJ, ZWNJ, RLM, LRM, ZWSP,
 etc. which are printable in the sense that the key that produces them
 would result in characters that can be identified, but they are 
characters that  cannot be detected visually when printed or 
displayed.

This case is muddied a little by the wording in 
https://w3c.github.io/uievents/#interface-keyboardevent
which says:

> If the value is a control key which has no printed representation, 
it MUST be one of the key values defined in the key values set, ...

This sentence also, by using 'printed representation' as ordinary 
text, seems to exclude the above characters.


See https://github.com/w3c/uievents/issues/121
Received on Friday, 16 December 2016 14:13:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:11 UTC