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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/