Feature #27412

Updated by Mischa The Evil almost 3 years ago

The access keys supported by Redmine (which are implemented using like regular "HTML @accesskey@ attributes":https://www.w3.org/TR/html5/editing.html#the-accesskey-attribute; HTML access keys, requiring the use of Ctrl/Alt/Shift[1] Ctrl/Alt/Shift keys) are not yet documented. This needs some TLC ;)

References:
* commits implementing the access keys: r804 (#449), r897, r1081 (#481), r13794 (#18692)
* notable related issue(s): #6846
* notable related plugin(s): https://github.com/netaustin/redmine_keyboard_shortcuts
* current (backend) implementation: source:/trunk/lib/redmine/access_keys.rb@17022
* files containing the string 'accesskey(' (frontend implementation): {{collapse(View details...)
|_.File:|_.Line no.:|_.Code line:|
|app\helpers\application_helper.rb|603|<pre> def accesskey(s)</pre>|
|app\helpers\application_helper.rb|1217|<pre> :accesskey => accesskey(:preview)</pre>|
|app\views\activities\index.html.erb|30|<pre> :accesskey => accesskey(:previous)) %></pre>|
|app\views\activities\index.html.erb|35|<pre> :accesskey => accesskey(:next)) %><% end %></pre>|
|app\views\calendars\show.html.erb|18|<pre> <%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %></pre>|
|app\views\documents\show.html.erb|3|<pre><%= link_to l(:button_edit), edit_document_path(@document), :class => 'icon icon-edit', :accesskey => accesskey(:edit) %></pre>|
|app\views\gantts\show.html.erb|343|<pre> :accesskey => accesskey(:previous)) %></pre>|
|app\views\gantts\show.html.erb|348|<pre> :accesskey => accesskey(:next)) %></pre>|
|app\views\issues\show.html.erb|12|<pre> :accesskey => accesskey(:previous) %></pre>|
|app\views\issues\show.html.erb|24|<pre> :accesskey => accesskey(:next) %></pre>|
|app\views\issues\_action_menu.html.erb|2|<pre><%= link_to l(:button_edit), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %></pre>|
|app\views\issues\_form.html.erb|34|<pre> :accesskey => accesskey(:edit),</pre>|
|app\views\layouts\base.html.erb|81|<pre> <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:</pre>|
|app\views\layouts\base.html.erb|83|<pre> <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %></pre>|
|app\views\news\show.html.erb|6|<pre> :accesskey => accesskey(:edit),</pre>|
|app\views\repositories\revision.html.erb|5|<pre> :text => l(:label_previous), :accesskey => accesskey(:previous)) %></pre>|
|app\views\repositories\revision.html.erb|12|<pre> :text => l(:label_next), :accesskey => accesskey(:next)) %></pre>|
|app\views\wiki\edit.html.erb|17|<pre> :class => 'wiki-edit', :accesskey => accesskey(:edit) %></pre>|
|app\views\wiki\show.html.erb|7|<pre> <%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :id => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %></pre>|
|lib\redmine\pagination.rb|170|<pre> :accesskey => accesskey(:previous)),</pre>|
|lib\redmine\pagination.rb|198|<pre> :accesskey => accesskey(:next)),</pre>|
}}

fn1. For an overview of keys used to access these access keys in different browsers, see: https://en.wikipedia.org/wiki/Access_key.

Back