About the pattern library
Audiences
The digital pattern library has three main audiences, built around the following user stories:
1. General users
General users will load pages in their browser, using the core CSS and JavaScript from the pattern library. Pages they access should all have the same look and feel.
- As an end user I want the University website to be displayed regardless of platform or browser so that I can easily navigate and use the content.
2. Web developers
Developers outwith the digital communications team build applications or websites using the core CSS and JavaScript. These developers need to know what the official patterns are and how to use them.
- As a web developer I want clear documentation about how, when and where to use design patterns so that there is a consistency across the applications and websites that I develop.
3. Digital communications team
The core team develops and designs the pattern library and uses it to build digital assets. The team needs a central place to work on, test and document the design patterns.
- As a member of the digital communications team I want a test-driven approach to developing websites/web applications so that new patterns are quality assured.
- As a member of the digital communications team I want the digital pattern library to be stored in a central code repository so that I may collaborate with other developers.
- As a member of the digital communications team I want the digital pattern library to be stored in a central code repository so that I may version control the code (and roll back if required).
Deliverables
- Core CSS and JavaScript These are found in the
buildfolder of the repository; they are also published to a central location. - Documentation The
patternsfolder includes documentation about each pattern available in the pattern library, examples of each one, and a browsable patchwork of all the patterns. In addition, you will also find CSS and JavaScript coding style guides, and other information. - Pattern tests The core team can use the examples and patchwork in the
patternsfolder as a way to implement pattern-driven development, which is a translation of test-driven development to design patterns.
Browsers supported
The digital communications team is committed to making the University website and web applications as usable as possible, irrespective of browser or platform (see the accessibility policy for more details). The team uses a baseline of browsers to actively support and test against.
Desktop
Generally, the digital pattern library supports the current major desktop releases of:
- Chrome
- Edge
- Firefox
- Internet Explorer (version 11 only)
- Safari
Careful attention is given to the managed desktop builds created by the IT Services desktops team. In these instances, older browsers may need to be supported in the short term.
Mobile
The digital pattern library is tested on the following current mobile releases of:
- Android
- Chrome
- iOS
- Chrome
- Safari
What "support" means
Support does not mean that every browser will display exactly the same thing. There are many variables (device, operating system, browser, screen size, etc.) that influence how a web page is displayed.
The priorities of the digital pattern library are availability and accessibility.