]> git.mxchange.org Git - friendica.git/commitdiff
Added many accesskeys ...
authorMichael Vogel <icarus@dabo.de>
Sat, 8 Aug 2015 15:33:43 +0000 (17:33 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 8 Aug 2015 15:33:43 +0000 (17:33 +0200)
18 files changed:
include/conversation.php
include/identity.php
mod/contacts.php
mod/message.php
mod/network.php
mod/notifications.php
mod/profile.php
mod/settings.php
view/templates/common_tabs.tpl
view/templates/generic_links_widget.tpl
view/templates/group_side.tpl
view/templates/message_side.tpl
view/templates/nets.tpl
view/templates/saved_searches_aside.tpl
view/theme/vier/templates/nav.tpl
view/theme/vier/templates/search_item.tpl
view/theme/vier/templates/wall_item_tag.tpl
view/theme/vier/templates/wall_thread.tpl

index 4aae611804cb7f0ebdf99856554293fc3f934c05..ca31fd8a0232326dc3d7f43328566bfb0ec254f7 100644 (file)
@@ -892,9 +892,9 @@ function item_photo_menu($item){
        foreach($menu as $k=>$v){
                if(strpos($v,'javascript:') === 0) {
                        $v = substr($v,11);
-                       $o .= "<li><a href=\"#\" onclick=\"$v\">$k</a></li>\n";
+                       $o .= "<li role=\"menuitem\"><a href=\"#\" onclick=\"$v\">$k</a></li>\n";
                }
-               elseif ($v!="") $o .= "<li><a href=\"$v\">$k</a></li>\n";
+               elseif ($v!="") $o .= "<li role=\"menuitem\"><a href=\"$v\">$k</a></li>\n";
        }
        return $o;
 }}
index b584896d36c5474372245231cb58df6a707c0260..9f3e1dda06b83178a6a9a1c46396a672f1255fb9 100644 (file)
@@ -634,6 +634,7 @@ if(! function_exists('profile_tabs')){
                                'sel' => ((!isset($tab)&&$a->argv[0]=='profile')?'active':''),
                                'title' => t('Status Messages and Posts'),
                                'id' => 'status-tab',
+                               'accesskey' => 'm',
                        ),
                        array(
                                'label' => t('Profile'),
@@ -641,6 +642,7 @@ if(! function_exists('profile_tabs')){
                                'sel'   => ((isset($tab) && $tab=='profile')?'active':''),
                                'title' => t('Profile Details'),
                                'id' => 'profile-tab',
+                               'accesskey' => 'r',
                        ),
                        array(
                                'label' => t('Photos'),
@@ -648,6 +650,7 @@ if(! function_exists('profile_tabs')){
                                'sel'   => ((!isset($tab)&&$a->argv[0]=='photos')?'active':''),
                                'title' => t('Photo Albums'),
                                'id' => 'photo-tab',
+                               'accesskey' => 'h',
                        ),
                        array(
                                'label' => t('Videos'),
@@ -655,6 +658,7 @@ if(! function_exists('profile_tabs')){
                                'sel'   => ((!isset($tab)&&$a->argv[0]=='videos')?'active':''),
                                'title' => t('Videos'),
                                'id' => 'video-tab',
+                               'accesskey' => 'v',
                        ),
                );
 
@@ -665,6 +669,7 @@ if(! function_exists('profile_tabs')){
                                'sel'   =>((!isset($tab)&&$a->argv[0]=='events')?'active':''),
                                'title' => t('Events and Calendar'),
                                'id' => 'events-tab',
+                               'accesskey' => 'e',
                        );
                        $tabs[] = array(
                                'label' => t('Personal Notes'),
@@ -672,6 +677,7 @@ if(! function_exists('profile_tabs')){
                                'sel'   =>((!isset($tab)&&$a->argv[0]=='notes')?'active':''),
                                'title' => t('Only You Can See This'),
                                'id' => 'notes-tab',
+                               'accesskey' => 't',
                        );
                }
 
index 63dffab67f047a0bc4e968485fbcbe87c99a4407..826630d30565fb24de4404f8db3a3424db1b3b79 100644 (file)
@@ -522,12 +522,14 @@ function contacts_content(&$a) {
                                'url'   => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/block',
                                'sel'   => '',
                                'title' => t('Toggle Blocked status'),
+                               'accesskey' => 'b',
                        ),
                        array(
                                'label' => (($contact['readonly']) ? t('Unignore') : t('Ignore') ),
                                'url'   => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/ignore',
                                'sel'   => '',
                                'title' => t('Toggle Ignored status'),
+                               'accesskey' => 'i',
                        ),
 
                        array(
@@ -535,12 +537,14 @@ function contacts_content(&$a) {
                                'url'   => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/archive',
                                'sel'   => '',
                                'title' => t('Toggle Archive status'),
+                               'accesskey' => 'v',
                        ),
                        array(
                                'label' => t('Repair'),
                                'url'   => $a->get_baseurl(true) . '/crepair/' . $contact_id,
                                'sel'   => '',
                                'title' => t('Advanced Contact Settings'),
+                               'accesskey' => 'r',
                        )
                );
                $tab_tpl = get_markup_template('common_tabs.tpl');
@@ -652,21 +656,24 @@ function contacts_content(&$a) {
        $tabs = array(
                array(
                        'label' => t('Suggestions'),
-                       'url'   => $a->get_baseurl(true) . '/suggest', 
+                       'url'   => $a->get_baseurl(true) . '/suggest',
                        'sel'   => '',
                        'title' => t('Suggest potential friends'),
+                       'accesskey' => 'g',
                ),
                array(
                        'label' => t('All Contacts'),
-                       'url'   => $a->get_baseurl(true) . '/contacts/all', 
+                       'url'   => $a->get_baseurl(true) . '/contacts/all',
                        'sel'   => ($all) ? 'active' : '',
                        'title' => t('Show all contacts'),
+                       'accesskey' => 'l',
                ),
                array(
                        'label' => t('Unblocked'),
                        'url'   => $a->get_baseurl(true) . '/contacts',
                        'sel'   => ((! $all) && (! $blocked) && (! $hidden) && (! $search) && (! $nets) && (! $ignored) && (! $archived)) ? 'active' : '',
                        'title' => t('Only show unblocked contacts'),
+                       'accesskey' => 'o',
                ),
 
                array(
@@ -674,6 +681,7 @@ function contacts_content(&$a) {
                        'url'   => $a->get_baseurl(true) . '/contacts/blocked',
                        'sel'   => ($blocked) ? 'active' : '',
                        'title' => t('Only show blocked contacts'),
+                       'accesskey' => 'b',
                ),
 
                array(
@@ -681,6 +689,7 @@ function contacts_content(&$a) {
                        'url'   => $a->get_baseurl(true) . '/contacts/ignored',
                        'sel'   => ($ignored) ? 'active' : '',
                        'title' => t('Only show ignored contacts'),
+                       'accesskey' => 'i',
                ),
 
                array(
@@ -688,6 +697,7 @@ function contacts_content(&$a) {
                        'url'   => $a->get_baseurl(true) . '/contacts/archived',
                        'sel'   => ($archived) ? 'active' : '',
                        'title' => t('Only show archived contacts'),
+                       'accesskey' => 'y',
                ),
 
                array(
@@ -695,6 +705,7 @@ function contacts_content(&$a) {
                        'url'   => $a->get_baseurl(true) . '/contacts/hidden',
                        'sel'   => ($hidden) ? 'active' : '',
                        'title' => t('Only show hidden contacts'),
+                       'accesskey' => 'h',
                ),
 
        );
index 178d99bba5fb0383d7958bf712f95283152a2fc6..1331ce7fb5f36167219d6a12aa5b051dcbcb9675 100644 (file)
@@ -9,8 +9,9 @@ function message_init(&$a) {
                'label' => t('New Message'),
                'url' => $a->get_baseurl(true) . '/message/new',
                'sel'=> ($a->argv[1] == 'new'),
+               'accesskey' => 'm',
        );
-       
+
        $tpl = get_markup_template('message_side.tpl');
        $a->page['aside'] = replace_macros($tpl, array(
                '$tabs'=>$tabs,
@@ -29,7 +30,7 @@ function message_init(&$a) {
                '$baseurl' => $a->get_baseurl(true),
                '$base' => $base
        ));
-       
+
 }
 
 function message_post(&$a) {
index 5562218701e7a4555d8d611dd4b9febd64501197..56c0eeb95376a5ca00b8c70f79fc2fa743512b02 100644 (file)
@@ -359,12 +359,14 @@ function network_content(&$a, $update = 0) {
                        'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . '?f=&order=comment' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''),
                        'sel'=>$all_active,
                        'title'=> t('Sort by Comment Date'),
+                       'accesskey' => "e",
                ),
                array(
                        'label' => t('Posted Order'),
                        'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . '?f=&order=post' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''),
                        'sel'=>$postord_active,
                        'title' => t('Sort by Post Date'),
+                       'accesskey' => "t",
                ),
        );
 
@@ -374,6 +376,7 @@ function network_content(&$a, $update = 0) {
                        'url' => $a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&conv=1',
                        'sel' => $conv_active,
                        'title' => t('Posts that mention or involve you'),
+                       'accesskey' => "r",
                );
        }
 
@@ -383,6 +386,7 @@ function network_content(&$a, $update = 0) {
                        'url' => $a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ($len_naked_cmd ? '/' : '') . 'new' . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : ''),
                        'sel' => $new_active,
                        'title' => t('Activity Stream - by date'),
+                       'accesskey' => "w",
                );
        }
 
@@ -392,6 +396,7 @@ function network_content(&$a, $update = 0) {
                        'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&bmark=1',
                        'sel'=>$bookmarked_active,
                        'title'=> t('Interesting Links'),
+                       'accesskey' => "b",
                );
        }
 
@@ -401,6 +406,7 @@ function network_content(&$a, $update = 0) {
                        'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&star=1',
                        'sel'=>$starred_active,
                        'title' => t('Favourite Posts'),
+                       'accesskey' => "m",
                );
        }
 
index 2ecc2621eb5818f89059d4c491ee1cf2db9b4596..09666d08c2e5ace79f952fe208173392a947f136 100644 (file)
@@ -78,26 +78,31 @@ function notifications_content(&$a) {
                        'label' => t('System'),
                        'url'=>$a->get_baseurl(true) . '/notifications/system',
                        'sel'=> (($a->argv[1] == 'system') ? 'active' : ''),
+                       'accesskey' => 'y',
                ),
                array(
                        'label' => t('Network'),
                        'url'=>$a->get_baseurl(true) . '/notifications/network',
                        'sel'=> (($a->argv[1] == 'network') ? 'active' : ''),
+                       'accesskey' => 'w',
                ),
                array(
                        'label' => t('Personal'),
                        'url'=>$a->get_baseurl(true) . '/notifications/personal',
                        'sel'=> (($a->argv[1] == 'personal') ? 'active' : ''),
+                       'accesskey' => 'r',
                ),
                array(
                        'label' => t('Home'),
                        'url' => $a->get_baseurl(true) . '/notifications/home',
                        'sel'=> (($a->argv[1] == 'home') ? 'active' : ''),
+                       'accesskey' => 'h',
                ),
                array(
                        'label' => t('Introductions'),
                        'url' => $a->get_baseurl(true) . '/notifications/intros',
                        'sel'=> (($a->argv[1] == 'intros') ? 'active' : ''),
+                       'accesskey' => 'i',
                ),
                /*array(
                        'label' => t('Messages'),
index 94e3c0a37f0b4460a3cad33a4ef78f7b32229c19..608971d08d38dd1dce47516b4d1ca2ae5dbd6d88 100644 (file)
@@ -181,7 +181,7 @@ function profile_content(&$a, $update = 0) {
                $commpage = (($a->profile['page-flags'] == PAGE_COMMUNITY) ? true : false);
                $commvisitor = (($commpage && $remote_contact == true) ? true : false);
 
-               $a->page['aside'] .= posted_date_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],$a->profile['profile_uid'],true); 
+               $a->page['aside'] .= posted_date_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],$a->profile['profile_uid'],true);
                $a->page['aside'] .= categories_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],(x($category) ? xmlify($category) : ''));
 
                if(can_write_wall($a,$a->profile['profile_uid'])) {
@@ -191,8 +191,8 @@ function profile_content(&$a, $update = 0) {
                                'allow_location' => ((($is_owner || $commvisitor) && $a->profile['allow_location']) ? true : false),
                                'default_location' => (($is_owner) ? $a->user['default-location'] : ''),
                                'nickname' => $a->profile['nickname'],
-                               'lockstate' => (((is_array($a->user) && ((strlen($a->user['allow_cid'])) || 
-                                               (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) || 
+                               'lockstate' => (((is_array($a->user) && ((strlen($a->user['allow_cid'])) ||
+                                               (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) ||
                                                (strlen($a->user['deny_gid']))))) ? 'lock' : 'unlock'),
                                'acl' => (($is_owner) ? populate_acl($a->user, true) : ''),
                                'bang' => '',
@@ -302,9 +302,9 @@ function profile_content(&$a, $update = 0) {
                foreach($r as $rr)
                        $parents_arr[] = $rr['item_id'];
                $parents_str = implode(', ', $parents_arr);
+
                $items = q("SELECT `item`.*, `item`.`id` AS `item_id`, `item`.`network` AS `item_network`,
-                       `contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`alias`, `contact`.`network`, `contact`.`rel`, 
+                       `contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`alias`, `contact`.`network`, `contact`.`rel`,
                        `contact`.`thumb`, `contact`.`self`, `contact`.`writable`,
                        `contact`.`id` AS `cid`, `contact`.`uid` AS `contact-uid`
                        FROM `item`, `contact`
index e4ef30a6138cefc7858e1d46c8eae71286e2ff04..dba12fa879678a132fad6b69dfec921ad39bcb06 100644 (file)
@@ -41,47 +41,56 @@ function settings_init(&$a) {
                        'label' => t('Account'),
                        'url'   => $a->get_baseurl(true).'/settings',
                        'selected'      =>  (($a->argc == 1) && ($a->argv[0] === 'settings')?'active':''),
+                       'accesskey' => 'o',
                ),
                array(
                        'label' => t('Additional features'),
                        'url'   => $a->get_baseurl(true).'/settings/features',
                        'selected'      => (($a->argc > 1) && ($a->argv[1] === 'features') ? 'active' : ''),
+                       'accesskey' => 't',
                ),
                array(
                        'label' => t('Display'),
                        'url'   => $a->get_baseurl(true).'/settings/display',
                        'selected'      => (($a->argc > 1) && ($a->argv[1] === 'display')?'active':''),
+                       'accesskey' => 'i',
                ),
 
                array(
                        'label' => t('Social Networks'),
                        'url'   => $a->get_baseurl(true).'/settings/connectors',
                        'selected'      => (($a->argc > 1) && ($a->argv[1] === 'connectors')?'active':''),
+                       'accesskey' => 'w',
                ),
                array(
                        'label' => t('Plugins'),
                        'url'   => $a->get_baseurl(true).'/settings/addon',
                        'selected'      => (($a->argc > 1) && ($a->argv[1] === 'addon')?'active':''),
+                       'accesskey' => 'l',
                ),
                array(
                        'label' => t('Delegations'),
                        'url'   => $a->get_baseurl(true).'/delegate',
                        'selected'      => (($a->argc == 1) && ($a->argv[0] === 'delegate')?'active':''),
+                       'accesskey' => 'd',
                ),
                array(
                        'label' => t('Connected apps'),
                        'url' => $a->get_baseurl(true) . '/settings/oauth',
                        'selected' => (($a->argc > 1) && ($a->argv[1] === 'oauth')?'active':''),
+                       'accesskey' => 'b',
                ),
                array(
                        'label' => t('Export personal data'),
                        'url' => $a->get_baseurl(true) . '/uexport',
                        'selected' => (($a->argc == 1) && ($a->argv[0] === 'uexport')?'active':''),
+                       'accesskey' => 'e',
                ),
                array(
                        'label' => t('Remove account'),
                        'url' => $a->get_baseurl(true) . '/removeme',
                        'selected' => (($a->argc == 1) && ($a->argv[0] === 'removeme')?'active':''),
+                       'accesskey' => 'r',
                )
        );
 
index b5eb9b48e2f43aaf5bfa23eee262b61235a453b4..988c1acefc794788b3aa374459e104b261947c17 100644 (file)
@@ -1,6 +1,6 @@
 
 <ul role="menubar" class="tabs">
        {{foreach $tabs as $tab}}
-               <li role="menuitem" id="{{$tab.id}}"><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
+               <li role="menuitem" id="{{$tab.id}}"><a href="{{$tab.url}}" {{if $tab.accesskey}}accesskey="{{$tab.accesskey}}"{{/if}} class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
        {{/foreach}}
 </ul>
index af1d8d1e3d543c1c8e5ad20436e83feebeb1ad8f..124079a1d9aeedcba7888e918fedad0d242dec4a 100644 (file)
@@ -3,9 +3,9 @@
        {{if $title}}<h3>{{$title}}</h3>{{/if}}
        {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
        
-       <ul>
+       <ul role="menu">
                {{foreach $items as $item}}
-                       <li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
+                       <li role="menuitem" class="tool"><a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}} class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
                {{/foreach}}
        </ul>
        
index fa3a111480982731b821fafef7569f0e65d8c998..2acb00ae9b4288eec1125366302a79b5041ca571 100644 (file)
@@ -2,9 +2,9 @@
 <h3>{{$title}}</h3>
 
 <div id="sidebar-group-list">
-       <ul id="sidebar-group-ul">
+       <ul role="menu" id="sidebar-group-ul">
                {{foreach $groups as $group}}
-                       <li class="sidebar-group-li">
+                       <li role="menuitem" class="sidebar-group-li">
                                {{if $group.cid}}
                                        <input type="checkbox" 
                                                class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" 
index 34afa256efbb43ebd9995a0be20d043f781b406a..3ee16e0b2eba32933e85da190529eed49a91f474 100644 (file)
@@ -1,10 +1,10 @@
 
 <div id="message-sidebar" class="widget">
-       <div id="message-new"><a href="{{$new.url}}" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div>
+       <div id="message-new"><a href="{{$new.url}}" accesskey="m" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div>
        
-       <ul class="message-ul">
+       <ul role="menu" class="message-ul">
                {{foreach $tabs as $t}}
-                       <li class="tool"><a href="{{$t.url}}" class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li>
+                       <li role="menuitem" class="tool"><a href="{{$t.url}}" {{if $t.accesskey}}accesskey="$t.accesskey"{{/if}} class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li>
                {{/foreach}}
        </ul>
        
index 12d35edaf6ba6dfd119f2ca96738d725ee7715d6..ea28bc665c2fbf3b9e4e0c0ef1576ba8c9cd5fc8 100644 (file)
@@ -3,9 +3,9 @@
        <h3>{{$title}}</h3>
        <div id="nets-desc">{{$desc}}</div>
        <a href="{{$base}}?nets=all" class="nets-link{{if $sel_all}} nets-selected{{/if}} nets-all">{{$all}}</a>
-       <ul class="nets-ul">
+       <ul role="menu" class="nets-ul">
        {{foreach $nets as $net}}
-       <li><a href="{{$base}}?nets={{$net.ref}}" class="nets-link{{if $net.selected}} nets-selected{{/if}}">{{$net.name}}</a></li>
+       <li role="menuitem" ><a href="{{$base}}?nets={{$net.ref}}" class="nets-link{{if $net.selected}} nets-selected{{/if}}">{{$net.name}}</a></li>
        {{/foreach}}
        </ul>
 </div>
index c9e5cf5691133cfa76db019bf3e24729ee9d0b37..e4aba94aa3eac91fa45f2aeb9670d95a75ed2503 100644 (file)
@@ -3,9 +3,9 @@
        <h3 id="search">{{$title}}</h3>
        {{$searchbox}}
        
-       <ul id="saved-search-ul">
+       <ul role="menu" id="saved-search-ul">
                {{foreach $saved as $search}}
-               <li class="saved-search-li clear">
+               <li role="menuitem" class="saved-search-li clear">
                        <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop " href="network/?f=&amp;remove=1&amp;search={{$search.encodedterm}}"></a>
                        <a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&amp;search={{$search.encodedterm}}">{{$search.term}}</a>
                </li>
index 1800e3fc486bad2f679c9f0c13c81b0bef45ddd0..8a40d6dd77347e297e0fec1c649901d72b1d0d67 100644 (file)
@@ -9,23 +9,23 @@
        <ul>
                {{if $nav.home}}
                        <li role="menuitem" id="nav-home-link" class="nav-menu {{$sel.home}}">
-                               <a class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
+                               <a accesskey="p" class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
                                <span id="home-update" class="nav-notify"></span>
                        </li>
                {{/if}}
                {{if $nav.network}}
                        <li role="menuitem" id="nav-network-link" class="nav-menu {{$sel.network}}">
-                               <a class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
+                               <a accesskey="n" class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
                                <span id="net-update" class="nav-notify"></span>
                        </li>
                {{/if}}
                {{if $nav.community}}
                        <li role="menuitem" id="nav-community-link" class="nav-menu {{$sel.community}}">
-                               <a class="{{$nav.community.2}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
+                               <a accesskey="c" class="{{$nav.community.2}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
                        </li>
                {{/if}}
                
-               <li role="menu" id="nav-site-linkmenu" class="nav-menu-icon"><a rel="#nav-site-menu"><span class="icon s22 icon-question"><span class="sr-only">{{$nav.help.3}}</span></span></a>
+               <li role="menu" aria-haspopup="true" id="nav-site-linkmenu" class="nav-menu-icon"><a rel="#nav-site-menu"><span class="icon s22 icon-question"><span class="sr-only">{{$nav.help.3}}</span></span></a>
                        <ul id="nav-site-menu" class="menu-popup">
                                {{if $nav.help}} <li role="menuitem"><a class="{{$nav.help.2}}" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>{{/if}}
                                <li role="menuitem"><a class="{{$nav.about.2}}" href="{{$nav.about.0}}" title="{{$nav.about.3}}" >{{$nav.about.1}}</a></li>
@@ -34,7 +34,7 @@
                </li>
 
                {{if $nav.notifications}}
-                       <li role="menu" id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 icon-bell tilted-icon"><span class="sr-only">{{$nav.notifications.1}}</span></span></a>
+                       <li role="menu" aria-haspopup="true" id="nav-notifications-linkmenu" class="nav-menu-icon"><a accesskey="f" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 icon-bell tilted-icon"><span class="sr-only">{{$nav.notifications.1}}</span></span></a>
                                <span id="notify-update" class="nav-notify"></span>
                                <ul id="nav-notifications-menu" class="menu-popup">
                                        <li role="menuitem" id="nav-notifications-mark-all"><a onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
                {{/if}}
                
                {{if $userinfo}}
-                       <li role="menu" id="nav-user-linklabel" class="nav-menu">
+                       <li aria-hidden="true" id="nav-user-linklabel" class="nav-menu">
                                <a rel="#nav-user-menu" title="{{$sitelocation}}">{{$userinfo.name}}<span id="intro-update" class="nav-notify"></span></a>
                        </li>
-                       <li role="menu" id="nav-user-linkmenu" class="nav-menu-icon">
-                               <a rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
+                       <li role="menu" aria-haspopup="true" id="nav-user-linkmenu" class="nav-menu-icon">
+                               <a accesskey="u" rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
                                <ul id="nav-user-menu" class="menu-popup">
                                        {{if $nav.introductions}}<li role="menuitem"><a class="{{$nav.introductions.2}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a><span id="intro-update-li" class="nav-notify"></span></li>{{/if}}
                                        {{if $nav.contacts}}<li role="menuitem"><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}}
@@ -71,7 +71,7 @@
                {{if $nav.search}}
                        <li role="search" id="search-box">
                                <form method="get" action="{{$nav.search.0}}">
-                                       <input id="search-text" class="nav-menu-search" type="text" value="" name="search">
+                                       <input accesskey="s" id="search-text" class="nav-menu-search" type="text" value="" name="search">
                                </form>
                        </li>
                {{/if}}
                {{if $nav.admin}}
                        <li role="menuitem" id="nav-admin-link" class="nav-menu">
                                <!-- <a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a> -->
-                               <a class="{{$nav.admin.2}} icon-sliders" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><span class="sr-only">{{$nav.admin.3}}</span></a>
+                               <a accesskey="a" class="{{$nav.admin.2}} icon-sliders" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><span class="sr-only">{{$nav.admin.3}}</span></a>
                        </li>
                {{/if}}
                
                {{if $nav.apps}}
-                       <li role="menu" id="nav-apps-link" class="nav-menu {{$sel.apps}}">
+                       <li role="menu" aria-haspopup="true" id="nav-apps-link" class="nav-menu {{$sel.apps}}">
                                <a class=" {{$nav.apps.2}}" rel="#nav-apps-menu" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>
                                <ul id="nav-apps-menu" class="menu-popup">
                                        {{foreach $apps as $ap}}
index 598eb4e9ee023a3eaf056bbe5c80a3ae11607294..b0e6a310f49543ec7b93a5f8bc4c73075ee73a85 100644 (file)
@@ -15,8 +15,8 @@
                                <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
                                        <img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
                                </a>
-                               <a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
-                               <ul class="wall-item-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               <a rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
+                               <ul role="menu" aria-haspopup="true" class="wall-item-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
                                {{$item.item_photo_menu}}
                                </ul>
                                
index 75d9e8783e861f1808417a3ee25c9412a26e56c3..4c5f083d7d038c5145331b43443e4306f75862e5 100644 (file)
@@ -30,7 +30,7 @@
                                <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
                                        <img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
                                </a>
-                               <ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               <ul role="menu" aria-haspopup="true" class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
                                {{$item.item_photo_menu}}
                                </ul>
                                
index 03c729e60f8082a42da7785ce60d34aa96b6b149..f4632cab30638117606c07bed7ed9dcf3f846eb1 100644 (file)
@@ -27,7 +27,7 @@
 
 {{if $item.thread_level!=1}}<div class="children">{{/if}}
 
-<div class="wall-item-decor">
+<div aria-hidden="true" class="wall-item-decor">
        <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
 </div>
 
                        <div class="contact-photo-wrapper mframe{{if $item.owner_url}} wwfrom{{/if}}"
                                onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" 
                                onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)">
-                               <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                               <a aria-hidden="true" href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
                                        <img src="{{$item.thumb}}" class="contact-photo {{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
                                </a>
-                               <a role="menu" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
-                               <ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               <a rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
+                               <ul role="menu" aria-haspopup="true" class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
                                {{$item.item_photo_menu}}
                                </ul>
                                
                        </div>
                        {{if $item.owner_url}}
-                       <div class="contact-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
+                       <div aria-hidden="true" class="contact-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
                                <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="contact-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
                                        <img src="{{$item.owner_photo}}" class="contact-photo {{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" alt="{{$item.owner_name}}" />
                                </a>