Hi Jeremy,
 Yes, you right! My reference was wrong and 
from https://www.w3.org/TR/html52/ I learned the support is available in 
HTML5!
Sorry for inconvenience!

Best
Mohammad

On Tuesday, May 15, 2018 at 12:05:05 PM UTC+4:30, Jeremy Ruston wrote:
>
> The motivation for adding the accessKey attribute to the button and link 
> widgets is that it is a standard HTML5 feature, and we're just passing the 
> attribute through. (I can't find any references to the attribute being 
> dropped from the standard).
>
> The differences between browsers are sufficiently frustrating that I don't 
> propose to use the accessKey attribute in the core UI. If we want global 
> keyboard shortcuts we'll need to do it properly: a new startup module that 
> listens to key events on the document, reusing the existing keyboard 
> shortcuts pane in the control panel.
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> [email protected] <javascript:>
> https://jermolene.com
>
> On 15 May 2018, at 08:25, PMario <[email protected] <javascript:>> wrote:
>
> On Tuesday, May 15, 2018 at 3:43:01 AM UTC+2, Mohammad wrote:
>>
>> One question, it seems support for accesskey will be dropped for HTML5 
>> standard, 
>
>
> That's not true. TiddlyWiki has keyboard handling functions. But 
> implementing key-handling libraries is only 20% of the work, that has to be 
> done. ... JavaScript libraries are only useful for "core" or plugin 
> developers.
>
> In TiddlyWiki we need the possibility to provide this functionality for 
> "advanced users" in wikitext, using widgets.
>
>  - We have the keyboard-widget <https://tiddlywiki.com/#KeyboardWidget>, 
> which allows advanced users to deal with shortcuts. 
>      see: EditTemplate 
> <https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FEditTemplate> and several 
> others
> - The keyboard-widget maps shortcuts to tiddlywiki actions. using 
> action-widgets <https://tiddlywiki.com/#ActionWidgets>
>  - and so on. ... 
>
> For most "pages" keyboard handling is simple, because they dispaly 
> "static" content, with a hand full of input elements. Those pages are 
> created by developers. The users are "locked in" to be "consumers" and can 
> fill forms, that sombody else statically defined .... 
>
> In TW we have a highly dynamic UI, that can be modified by "end-users", to 
> be able to be "content producers". There is no limit how many "forms" 
> (tiddlers in edit mode) are open at the same time. ... That's a big 
> difference!
>  
>
>> also different browsers react differently to accesskey,
>
>
> It's not only different browsers. .. It's also different OSes that have 
> sligtly different approaches and implementations. eg: Ctrl-key, Cmd-Key and 
> Alt-Key .. That's why TW "*$:/ControlPanel 
> <https://tiddlywiki.com/#%24%3A%2FControlPanel>: Kayboard Shortcuts"* tab 
> allows us to configure every OS separately if needed. 
>
> There are some common shortcuts, everyone knows, that can't be used in 
> browser-apps, since the browser catches them. No matter what you do! eg: 
> Ctrl-S, Ctrl-N .... 
>  
>
>> so don't you think a JavaScript solution maybe be a better solution in 
>> long time?
>
>
> That's right. We already use one ... But as I wrote, that's only part of 
> the game. We need to find ways to make it availalbe for our 
> "wikitext-users", with consistency and acceptable complexity.
>
> The proposed pull-request 
> <https://github.com/Jermolene/TiddlyWiki5/pull/3273> may be only the 
> first step, to get more flexibility. 
>
> Everyone is welcome to add comments to the discussion. 
>
> have fun!
> mario
>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/22a23cf5-5adb-4b9c-a34c-a9100dc970f7%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/22a23cf5-5adb-4b9c-a34c-a9100dc970f7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eeecc2bf-ac8f-4867-acd7-0733cab7717c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to