HTML5.gov.uk

How government organisations can be cutting-edge

HTML

What is HTML5?

What’s under the umbrella?

HTML

  • New semantic elements:
  • New ways to mean what you actually meant to mean

CSS3

Like CSS 2.1 but better

More JavaScript control

New ways to do stuff you couldn’t do before or had to use plugins for

Not everything works everywhere

but that’s okay.

Challenges facing government organisations

Accessibility

Regardless of physical impairments or level of technological ability

Reusability

hard enough to get one piece of content generated and approved – reuse it

Cheap

This covers implementation as well as content reuse.

Why is now the right time to use HTML5?

  • HTML5 is HTML – you’re already most of the way there.
  • Most visitors’ browsers can handle most things
  • JavaScript ‘PolyFills’ can be used to patch the holes

Polyfills

Regressive Enhancement a.k.a. patching the holes.

Old browsers can work just as well as new ones.

If the browser doesn’t support feature X, add it.

But what about users without script?

  • Look at your actual visitor statistics
  • Don’t build for your browser, build for your visitors’ browsers
  • Don’t worry about something that doesn’t exist

Why HTML5 is good for government organisations

  1. Accessibility
  2. Usability
  3. Largest audience
  4. Good for mobile browsing (if done right)
  5. Resuable, modular content
  6. SEO Benefits

Being realistic

Back-catalogue

Large organisations have many years of assets.

Might not be feasible to migrate old flash video.

3rd-parties are the best parties

  • Try and use respectable, reliable 3rd party service providers where possible
  • Let them deal with the hassle
  • Pay them for it. ICT policies are more understanding if there’s a contract.

Large organisations = Legacy systems

Sometimes these can’t be updated.

HTML5 doesn’t need to be all or nothing – choose the right doctype and build and improve a bit at a time.

Every step forward is at least one step forward.

Block elements

article, aside, figure, footer, header, hgroup, nav, section, etc.…

Inline elements

time, address, small, meter, progress, etc.…

Styles

box-shadow, text-shadow, border-radius, border-image, transitions, etc.…

Script

Geolocation, canvas, history, offline storage, etc.…

Learn from these people

Go, Make

BY Simon Madine / thingsinjars.com