https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24703 Bug ID: 24703 Summary: Show accesskeys with CSS instead of hardcoding them in the button text Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: pasi.kallinen@koha-suomi.fi QA Contact: testopia@bugs.koha-community.org 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) ")"; } -- You are receiving this mail because: You are watching all bug changes.