[Koha-bugs] [Bug 27471] New: Improve link text when successfully merging authorities and remove JS redirect
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 20 01:54:23 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27471
Bug ID: 27471
Summary: Improve link text when successfully merging
authorities and remove JS redirect
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: aleisha at catalyst.net.nz
QA Contact: testopia at bugs.koha-community.org
<script>window.location.href="/cgi-bin/koha/authorities/detail.pl?authid=[%
recordid1 | html %]";</script>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt: <p>The merging
was successful. <a href="/cgi-bin/koha/authorities/detail.pl?authid=[%
recordid1 | uri %]">Click here to see the merged record.</a></p>
"Here" should not be used as a link text as it doesn't contain any helpful
information for people scanning the page for information and also is a problem
for blind users using screen readers jumping from link to link on a page.
To reproduce:
1. Create or have two authorities
2. Do a search in Authorities
3. Click Actions -> merge for one authority
4. After the page reloads to show we are merging, click Actions -> Merge for
the next authority
5. Go Next until the merge is complete
Notice you don't even see the 'The merging was successful' message, because of
the javascript that redirects you.
To patch:
delete the script line and reword the 'Click here' message
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list