Currently the accesskeys are hardcoded into the button texts, like so: <button type="submit" class="approve" accesskey="y"><i class="fa fa-fw fa-check"></i> Yes, close (Y)</button> This is a problem eg. when translating the texts. A more elegant solution would be to use CSS to show the actual access key value, such as button[accesskey]:after { margin-left: 0.5em; content: "(" attr(accesskey) ")"; }