[Koha-bugs] [Bug 24703] New: Show accesskeys with CSS instead of hardcoding them in the button text
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 21 12:18:04 CET 2020
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 at myacpl.org
Reporter: pasi.kallinen at koha-suomi.fi
QA Contact: testopia at 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.
More information about the Koha-bugs
mailing list