Giter Club home page Giter Club logo

the-university-of-melbourne-web-templates's Introduction

The University of Melbourne Web Templates

These templates have been created to comply with The University of Melbourne Web Brand Guidelines

Contact: [email protected]

Copyright Notice

Copyright 2011 The University of Melbourne

The contents of this repository have been produced by The University of Melbourne for internal use and must not be distributed without the express permission of The University of Melbourne.

Release Notes

#1.0.0 After final approval from Senior Exec, ABAG and MMEG the new templates are endorsed for production use.

##Deployed package changes None - this is the same as 0.9.6

##Globalised changes (centrally applied) None - this is the same as 0.9.6

#0.9.6

##Deployed package changes (requiring re-download/markup modifications)

  • Fixed typo in footer (thanks Jessica Taylor)
  • Added apache code date strings (thanks Giles Ng)
  • Resolved validating issues on page
  • Fixed form markup to comply with accessibility guidelines

##Globalised changes (centrally applied)

  • Removed translate widget pending disclaimer approval
  • Modified colour scheme to ensure WCAG 2.0 AA compliance
  • Added IE6/7 table CSS support
  • Fixed bug with footer in media-query where text would override logo.

#0.9.5

##Deployed package changes (requiring re-download/markup modifications)

  • Changed form labels to legends to make them more accessible (& adjusted CSS)

##Globalised changes (centrally applied)

  • Modified heading text colour for contrast
  • Modified navigational link colours to provide additional colour differentiation
  • Improved IE6/7 support for tables

#0.9.4

Minor changes.

#0.9.3 ##Deploy package changes

  • Reordered heading structures to be more useful for screen readers
  • Removed lightbox/modal box code until WCAG 2.0 AA compliant approach can be determined. Currently investigating http://plugins.jquery.com/project/ARIALightbox
  • Changed all references to Faculty of Foo and the Graduate School of Bar
  • Adjusted placeholder text to make it more unique
  • Added "LATEST" path instead of "EDGE". LATEST always references the latest version of the template assets. EDGE references the current working version (HEAD/nightly). Specific versions remain the same

##Globalised changes

  • Modified contrast to be WCAG 2.0 AA compliant
  • Removed keyboard trap with sliding news banner on index.html. This now allows users to tab through using only a keyboard
  • Added labels to translate items
  • Adjusted Skip link CSS to visually hide skip links (via text-indent) instead of display:none
  • Fixed navigation focus order to make it so that the More Link is highlighted after the parent link.

0.9.2

Deploy package changes

  • Removed media declaration from complete.css style tag to allow print stylesheet support
  • Improved h1–h6 structure (in the markup) and styles

Globalised changes

  • Addressed a number of accessibility issues to attain WCAG 2.0 AA Support (pending Andrew Normand final review)
  • Added 'back to top' link
  • Fixed injection issues in Opera
  • Fixed newbanner display issues on IE6/7
  • Print stylesheet support
  • Hover state support to global css
  • Added visited state to global css
  • Beefed up the font stack for redundancy
  • Increased HTML5 transition speed on linkI wans to 150ms from 300ms to appear more responsive
  • Renamed SCSS files to cause generation of an complete.css file

0.9.1

  • Fixed text contrast in internal footer
  • Changed search and translate images to text based links
  • Changed google translate functionality to open in new window rather than in-page
  • Fixed main menu colour to make them different from heading colours (to resolve WCAG 2.0 AA compliance issue)
  • Fixed heading hierarchies a little (requires re-download of deploy package as markup has changed - hey, that's what a beta is for ;-) )
  • Worked on block quote styles.
  • Fixed filenames in package to make them make sense (e.g. Index is now a homepage style, content page is now content.html. Homepage-alt is still homepage-alt.html)

the-university-of-melbourne-web-templates's People

Contributors

gilesng avatar kolber avatar makenosound avatar neilang avatar ptagell avatar taylj avatar tobyhede avatar vly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

the-university-of-melbourne-web-templates's Issues

Reassess default navigational collapsing to take into account user feedback

From RA

Basically as the new styling doesn’t collapse until you get beyond the third level, then many of the content pages will be pushed two or more screen lengths in size due to the nav col. For example we may have 5 level 1 category headings/links with each one of them having 4 or 5 level two subcategory links, then if you throw in a couple of Level 3s it all just becomes one long list of links that pushes off the bottom of the screen and leaves a lot of empty space in the main content area.

First links on page dont work at all.

I tried dropping the html from documentation on how to use best:

http://brand.unimelb.edu.au/web/docs/docs/docs/

Into a test app:

http://vote-uat.unimelb.edu.au/

And my first problem is that the links across the top of the page dont work. What is the proposed way to work around this?

Heading tags

Expert reviewer's comment:

The use of headings would be clearer if content were added, I think.
As it stands, the headings are a helpful navigational aid,
but their contents aren't always heading-like, which could be confusing.

Remedy:

Some of the headings in index.html are really content. For example, the text 'From February 22-25 Get Involved, get connected' is presented as a heading, when really it is content.

Example:

Change
`

`

to
`

`

Translate form labels

Problem:

The translate form does not have any labels associated with it.

WCAG Guideline

Success Criteria 3.3.2 - Labels or Instructions

Sufficient labels, cues, and instructions for required interactive elements are provided.

Remedy:

Add a label to the form.

Example

Change
<strong>Translate this page</strong> ... <select name="tl">

to
<label for="tl"><strong>Translate this page</strong></label> ... <select id="tl" name="tl">

Template Changes

Recently the styling and/or positioning of items on a few of the Faculty of Arts Drupal sites has changed without the FoA staff making any changes to their content or CSS. I've heard the same from other Drupal developers working on Unimelb Drupal sites.

Are changes (even if only bugfixes) being made and pushed to the hosted 1-1-0 version of the injector.css or complete.css on brand.unimelb.edu.au at all?

Resolve Fancybox accessibility issues

Currently fancybox is not accessible due to keyboard traps (more details to follow), so this needs to be resolved in order to meet WCAG 2.0 AA standards.

Google icon alt text

Problem:

The Google icon in the translate pop-up is missing ALT text.

WCAG Guideline

Success Criteria 1.1.1 – Non-text Content

All images, form image buttons and image map hot spots have equivalent alternative text. Images that do not convey content, are decorative or with content that is already conveyed in text are given null alt text (alt=””) or implemented as CSS backgrounds. Form inputs have associated labels.

Remedy:

Add ALT text to the image.

Example

Change
<img src="http://translate.googleapis.com/translate_static/img/mini_google.png" style="position: relative; top: 5px;">

to
<img alt="google" src="http://translate.googleapis.com/translate_static/img/mini_google.png" style="position: relative; top: 5px;">

1-1-0 release banner display bug

There appears to be a bug with the banner (look at index.html file in 1-1-0 release). Have spoken with Anthony about this and he has advised log this issue and scale back to 1-0-0 on the sales site.

First paragraph

Expert reviewer's comment:

The other notable oddity, which isn't really a major accessibility issue,
is that in your templates, there is a paragraph preceding the first heading.
Anyone who is navigating back and forth by headings will miss it, obviously,
but the paragraph will be presented immediately after the page is loaded, as
the focus is at the start of the document.

Discussion:

Interesting observation. I will look into this further.

Retina-ready global navigation and templates

The idea here is to make any images used on our websites retina-able. This would include both header/footer injection images, but also providing a way for web developers to consistently provide retina-scale graphics for use on other websites.

Menu link colors

Problem:

The menu heading color (#6685A4), i.e. ‘Example Navigation’, and menu link color (#3E658E), i.e. ‘About Us’, are very similar.

WCAG Guideline

Success Criteria 1.4.1 - Use of Color

Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element. If color alone is used to distinguish a link from surround text, it has additional differentiation (e.g. it becomes underlined) which appears when the link is hovered over or receives focus.

Remedy:

Make it very clear what is a heading and what is a link. Using blue for both headings and links is confusing.

Mobile template ARIA landmarks

Problem:

The drop down navigation menu doesn't have an ARIA role assigned to it.

Remedy

Add an ARIA role to the navigation.

Example

Change
<div class="mobile-nav">

to
<div class="mobile-nav" role=”navigation”>

Notes

This is another outstanding issue from the 0.9.2 report

Radio button labels

Expert reviewer's comment

The forms were also accessible, except that I couldn't select the first option
of the "gender" form - it appears to be a straightforward HTML form, so it's
probably another Mozilla bug that you won't have to consider as it will almost
certainly go away soon. If any Javascript touches it, though, then that's a
different story.

Problem

This appears to be caused by a known issue as described in WCAG Technique H44:
The HTML and XHTML specifications allow both implicit and explicit labels. However, some assistive technologies do not correctly handle implicit labels (for example, <label>First name <input type="text" name="firstname"></label>).

Remedy

Use legends to identify groups of form controls. See WCAG Technique H71.
Explicitly associate labels with input fields using 'for' and 'id' attributes.
CSS will need to be adjusted.

Radio Button Example

Change
`


Gender


Gender


Male

Female


Neither of these terms describe me

`

to
`


Gender


Gender


Male

Female


Neither of these terms describe me

` ### Check Box Example

Change
`


Dietary Requirements


Requirements



Gluten allergies



Lactose intolerant



Don't like bananas

`

to
`


Dietary Requirements


Requirements


Gluten allergies

Lactose intolerant

Don't like bananas

`

Image alt text

Expert reviewer's comment:

The alt attributes on this page contain the word "image", which is redundant,
as the user's assistive technology will typically identify the objects as images;
I would remove it.

Remedy:

In index.html change:
<img src="images/page-preview.png" height="100%" width="100%" alt="newsbanner feature image"></a>

to
<img src="images/page-preview.png" height="100%" width="100%" alt="newsbanner feature"></a>

Skip Links

Problem:

The ‘Skip to ‘Navigation’ and ‘Skip to Content’ links have been disabled. 66% of screen reader users use skip links sometimes or often. The University of Melbourne web site uses skip links reasonably consistently across the site. Removing them on the Library site is likely to make things more difficult for users.

WCAG Guideline

Success Criteria 3.2.3 – Consistent Navigation

Navigational mechanisms that are repeated on multiple pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.

Remedy:

Edit line 38 of styles.css.

Example

Change
.skiplinks { display: none;}

to
.skiplinks { position: absolute; left: -900em; width: 100em; overflow: hidden; }

Read more links (hompage-alt.html)

Problem:

The repeated links ‘Read more’ might create confusion depending on its code context.

Note: This same issue has been addressed in index.html

WCAG Guideline

Success Criteria 2.4.4 - Link Purpose (in Context)

The purpose of each link can be determined from the link text alone or from the link text and it’s context.

Remedy:

Ensure that the surrounding code gives the link context or change the link to match the news item title.

Example:

Change
<h3>Item One</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> <a class="button" href="#">Read more #1</a>

to
<h3>Item One</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <a class="button" href="#">Read more #1</a></p>

Improve responsive styles

Things to consider

  • disappearing menu items
  • footer display
  • grid behaviour on smaller devices
  • potentially mobile-first css approach (eg. load mobile css by default and then load desktop versions)

Any reason not to use the unimelb favicon?

Hi,

The favicon.ico in the template is a blue circle, is that one we should use? I have been replacing it to the current unimelb favicon, but let me know if I should follow use the one provided in the template.

Text contrast

Problem:

The text ‘A pioneering research university, The University of Melbourne has a the largest cohort of research students in Australia’ has a contrast ratio with the background of 1.2:1 at worst.

WCAG Guideline

Success Criteria 1.4.3 - Contrast

The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except incidental text or images and logotypes. Large text (over 18pt or 14 pt bold) has a contrast ratio of at least 3:1.

Remedy:

Ensure that the contrast ratio between text and background is at least 4.5:1

H1 Heading Contrast

Problem:

In some places, particularly the bottom left of the letters, the contrast between the heading ‘The Graduate School of Science’ and the background is 2.8:1

WCAG Guideline

Success Criteria 1.4.3 - Contrast

The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except incidental text or images and logotypes. Large text (over 18pt or 14 pt bold) has a contrast ratio of at least 3:1.

Remedy:

Ensure the contrast ration between the heading ‘The Graduate School of Science’ and the background is at least 3:1.

Example

Change
.header .hgroup h1 { text-shadow: 1px 1px 2px #002244; ... }

to
.header .hgroup h1 { text-shadow: 0.5px 0.5px 4px #002244; ... }

Google Translate

Expert reviewer's comment

The controls for switching to another language were accessible, but after
switching, I couldn't find the translated content on the updated page. All
that I could read was the Google menu with the options for selecting either
the translated or original content and for performing another translation.
furthermore, the radio button to choose the original content (i.e., to return
to the English page) didn't show up in the tab order of the page for some
reason. There was an iframe shown but I couldn't access the content (I'm
assuming it's supposed to contain translated text).

Problem

Google Translate opens in a framset which is not accessible. In addition the framset can't be closed.

The Google Translate API has been officially deprecated as of May 26, 2011. The API will be shut off completely on December 1, 2011.

Remedy

I think we should look at moving back to the Google Translate Element. At least that allows users to close the tab.

Change <label> styles

Could the styles please be changed from display:inline-block to display:block? It makes elements below (particularly notes created by the CMS form builder) float up against it in desktop and mobile view. Screenshots attached.

@media screen and (min-width: 769px)
.uomcontent fieldset label {
width: 412px;
width: 25.75rem;
display: inline-block;
}

Screenshots below:

screen shot 2016-03-08 at 9 40 04 am

screen shot 2016-03-08 at 9 39 56 am

screen shot 2016-03-08 at 9 39 01 am

screen shot 2016-03-08 at 9 38 12 am

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.