Always uppercase access key in the description title.
authorJan Schneider <jan@horde.org>
Tue, 17 Nov 2009 22:33:14 +0000 (23:33 +0100)
committerJan Schneider <jan@horde.org>
Tue, 17 Nov 2009 22:42:30 +0000 (23:42 +0100)
framework/Core/lib/Horde.php

index f8b7f9b..6ae86f8 100644 (file)
@@ -1985,7 +1985,7 @@ HTML;
         $ak = self::getAccessKey($label, $nocheck);
         $attributes = 'title="' . self::stripAccessKey($label);
         if (!empty($ak)) {
-            $attributes .= sprintf(_(" (Accesskey %s)"), $ak);
+            $attributes .= sprintf(_(" (Accesskey %s)"), strtoupper($ak));
             $attributes .= '" accesskey="' . $ak;
         }