The last version of Internet Explorer, version 11, was released on October 17, 2013. This is a very long time ago when taking into account the rapid development of web technologies. These days it is often difficult and time consuming to get modern technologies to work well in this old browser. More and more frameworks are dropping support, and even Microsoft themselves has announced that they will fully drop support for IE in their own services in 2021.
Consequently, we have decided to not include support for IE in the Design Library website.
Luckily, there are modern options in active development. Please use Firefox, Edge or Chrome instead.
How to present printed content in PDF format in the shells.
This design pattern describes different ways to present and handle printed content in .pdf format in the shells. PDF’s can be handled in several different ways, we have currently identified three ways that cover our current needs.
Follow the proper accessibility guidelines related to the component you choose to use. For example, when using modal components for showing PDF's, it is important that the events are marked in such a way that screen readers can detect them.
The structure of a PDF-link should be as following:
Or, if the PDF-link will open in a new window:
Same as desktop - usually links that are handled by browser
Native PDF-viewer or link to browser (hybrid)
In this pattern we will describe three options for presenting PDFs and their respective pros and cons. Depending on how the document is supposed to be used, or what type of document it is, you may want to use one option over the others. The three options are:
The most common way of handling files and especially PDF's is by letting the browser choose how to handle them. Linking to the document’s URL will let the browser either open the document as a preview in a new page or tab, or download the document depending on the browser being used.
If the document is an excerpt, receipt or other information that is not crucial for the task flow, then consider opening the document as a link.
Usually it is enough to use simple href linking:
<a href=”/url-to-pdf/document.pdf” target=”_blank”>Show PDF</a>.
Example from IBP, opening a document as a link
PDF’s can also be shown in an integrated way in the interface. Usually this is done by visualizing the document in some form of modal overlay. We have found that a full screen modal works well in SEB’s interfaces.
If the user uses the document for additional information, and maybe wants to move between several documents, but needs to quickly return to their workflow consider using a take-over.
Example from Business Arena, opening a report in PDF-format in a take-over modal
In some cases there might be a need to show the PDF document at the same time as you show other type of information. In such cases you can present the document in a slide out modal component.
If it is important for the customer to be able to look at a PDF while acting on something, or comparing the information to something, you might consider using a slide-out.
Example from Business Arena, signing a document. The PDF is opened in a slide-out.