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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

<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.
_______________________________________________
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/

Reply via email to