Our web development standards are intended for use by website and application developers working for Surrey County Council and for third-party suppliers that provide web-based products or services to the council.
If you have any questions about these standards, please contact Web and Digital Services.
- All web pages must validate to Level A and Level AA of the W3C Web Content Accessibility Guidelines version 2.0 (WCAG 2.0).
Web browser support
- All web pages must follow our web browser support principles.
Design and branding
To ensure a consistent and high quality experience for our users, all website components and applications should make use of a master website template.
- A unique template will be provided for each application or application type.
- Each template will contain tokens (placeholders) for dynamic content.
- Templates are available either as a single page, or as a set of three segments (head, body header, body footer).
- Templates will be made available via one or more URLs.
- Templates should be automatically fetched by the application every 24 hours, to ensure consistency with the wider website.
All applications should present an appropriate error page when required. Error pages can be downloaded in HTML format below.
- Generic error
- Error 400 - Bad request
- Error 401 - Unauthorised
- Error 403 - Forbidden
- Error 404 - Not found
- Error 405 - Method not allowed
- Error 406 - Not acceptable
- Error 500 - Internal server error
- Error 501 - Not implemented
- Error 503 - Service unavailable
Applications should either make use of the generic error page, or the specific versions for each error type. Applications should always return the correct HTTP status code for each error type, regardless of whether a generic or specific error message is displayed.