W3C

Switch to presentation view (Opera 12) or press A (JavaScript).

The style guide project

Or:
how do you make a style guide for a Web site?

[Picture: pencil, red at one end, black at the other]
Bert Bos
Presented at:
Paris Web 2018
Paris, 6 October 2018

Context

W3C Design Task Force

Ongoing project improve usability
update & merge existing guides
strengthen brand
help authors
keep informed of new insights
keep informed of new tech

Current cycle started March 2017

You're now part of it ☺

Outline

Why write a style guide?

[Picture: book ‘The new typography’ by Jan Tschichold]

? 🤔

Why write a style guide?

[Picture: book ‘The new typography’ by Jan Tschichold]

Consistency
→ site is easier to use

Identity
→ brand recognition

The guide's audience

[Picture: book ‘First principles of typography’ by Stanley Morison]

? 🤔

The guide's audience

[Picture: book ‘First principles of typography’ by Stanley Morison]

Maybe different people need to read different parts?

Who writes the style guide?

[Picture: book ‘Envisioning information’ by Edward R. Tufte]

? 🤔

Who writes the style guide?

[Picture: book ‘Envisioning information’ by Edward R. Tufte]

General: W3C:
Comm./marketing experts
Front-end developers
Back-end developers
Designers
Usability experts
Authors

Hire external help?

Visual elements

[Picture: book ‘The form of the book’ by Jan Tschichold]

? 🤔

Visual elements

For example:

W3C:

Aside: internationalization

The examples on these slides are for English

What will be different

? 🤔

Aside: internationalization (1/2)

Some examples:

May require authors to use classes for kinds of emphasis

Wikipedia article on Japanese marks

See article on <b> and <i> elements

Aside: internationalization (2/2)

More examples:

Spelling & grammar

[Picture: book ‘Schrijfwijzer’ by J. Renkem]

? 🤔

Spelling & grammar

[Picture: book ‘Schrijfwijzer’ by J. Renkem]

For example:

Writing style

[Picture: book ‘Tekstwijzer’ by K. F. Treebus]

? 🤔

Writing style

[Picture: book ‘Tekstwijzer’ by K. F. Treebus]

For example:

Vocabulary

? 🤔

Vocabulary

Human-readable metadata

A photo of the author gives the site a more human face

Machine-readable metadata

Ditto, i.e.

… with appropiate mark-up

But also:

"rel" attributes, RDFa or microformats…

Technologies

[Picture: book ‘The elements of typographic style’        by Robert Bringhurst]

? 🤔

Technologies

[Picture: book ‘The elements of typographic style’        by Robert Bringhurst]

Where to use

Consider:

Comment

Specific categories

Additional/specific rules for:

Structure of the guide

? 🤔

Structure of the guide

Goals:

Is an alphabetical index useful? or is Ctrl-F enough?

My idea:

Writing style of the guide

[Picture: book ‘Règles typographiques’]

? 🤔

Should the guide be public?

[Picture: book ‘Digital typography’        by Donald E. Knuth]

? 🤔

The end

[Picture: sunset]

These slides are at https://‌www.w3.org/‌Talks/‌2018/‌1006-style-guide-Paris/