Skip to content

Commit

Permalink
Merge branch 'master' into alice-tess-149
Browse files Browse the repository at this point in the history
  • Loading branch information
atanassov authored Mar 17, 2020
2 parents a4636fc + 68b84b3 commit 57c9a09
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Group: W3C TAG
Shortname: design-principles
Repository: w3ctag/design-principles
Status: DREAM
Editor: Travis Leithead, Microsoft, travil@microsoft.com
Editor: Sangwhan Moon, Invited Expert, https://sangwhan.com
Former Editor: Domenic Denicola, Google https://www.google.com/, https://domenic.me/, d@domenic.me
Former Editor: Travis Leithead, Microsoft, travil@microsoft.com
Abstract: This document contains a small-but-growing set of design principles collected by the W3C TAG while <a href="https://github.com/w3ctag/spec-reviews/">reviewing</a> specifications.
Default Biblio Status: current
Markup Shorthands: markdown on
Expand Down Expand Up @@ -171,6 +171,13 @@ Names take meaning from:
* use (how people come to understand the name over time)
* context (the object on the left-hand side, for example)

API naming *must* be done in easily readable US English. For example `horizontalAlignment`
is a more English-readable name than `alignmentHorizontal`. Whenever possible consider
readability over brevity.

Names should adhere to the local language restrictions, for example CSS ident rules etc.
and *should* be in the [ASCII range](https://infra.spec.whatwg.org/#ascii-code-point).

<h4 id="naming-consistency" class="no-num no-toc">Consistency</h4>
Naming schemes should aim for consistency, to avoid confusion.

Expand Down

0 comments on commit 57c9a09

Please sign in to comment.