Skip to content

[Editorial] "state" keywords have inconsistent casing #10802

Open
@keithamus

Description

@keithamus

What is the issue with the HTML Standard?

Some states, such as input's type and img's loading are title case. Many others are not.

I'm filing this issue to track work to change all states to be title case.

How would someone contribute to this issue?

  1. You can fork and clone the HTML spec: git clone [email protected]:<your-username>/html
  2. Edit the source file in your favourite editor.
  3. Look for "states" in lowercase, you can find all instances with this shell command: grep 'attr-.*-state">[a-z]' source.
  4. Pick one to zero in on, for example attr-translate-yes-state & attr-translate-no-state are both (at the time of writing) not in title case.
  5. In your editor search for all instances of your chosen attributes, and reformat them to be title case: the first letter and subsequent "proper nouns" should have be in upper case, all verbs and common nouns need to be in lower case.
  6. Commit your changes with a sensible message: "git commit -am'editorial: use title case for `
  7. Push your changes to your fork; git push
  8. Raise a pull request and make the title of the PR match your commit message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    editorialChanges that do not affect how the standard is understoodgood first issueIdeal for someone new to a WHATWG standard or software project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions