diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3 index 44bf50d7ca01b4cc21f6b14ed34dac55f20a8ae7..e857abee3a2acf94bfb182afb56ebebf30dabd8f 100644 --- a/ecrire/inc_presentation.php3 +++ b/ecrire/inc_presentation.php3 @@ -72,6 +72,7 @@ function bouton_imessage($destinataire, $row = '') { function debut_cadre($style, $icone, $fonction) { global $spip_display; + static $accesskey = 97; // a if ($GLOBALS['spip_lang_rtl']) { $g = 'd'; @@ -82,6 +83,10 @@ function debut_cadre($style, $icone, $fonction) { $d = 'd'; } + // accesskey pour accessibilite espace prive + $accesskey_c = chr($accesskey++); + $retour_aff .= "<a name='access-$accesskey_c' href='#access-$accesskey_c' accesskey='$accesskey_c'></a>"; + if ($spip_display != 1){ if (strlen($icone)<3) $icone = "rien.gif"; $retour_aff .= "\n<table class='cadre' cellspacing='0' cellpadding='0'><tr>";