Vale CMS Need more than a rule playground? Explore
Package Explorer

NHS

The NHS digital service manual's content style guide: its A to Z of health writing, numbers, dates and times, punctuation, and inclusive language.

jdkato/nhs styleproseinclusive-language Vale ≥ 3.21.0

Getting started

Add it to your .vale.ini, then run vale sync.

Packages = NHS

[*.md]
BasedOnStyles = Vale, NHS

# Also in this package; add the ones you want:
# NHSStrict

Rules 52

35 warning17 suggestion
  • NHS 48 rules
  • NHS.Abbreviations suggestion Std.Abbreviations.Acronyms Style guide

    Spell out '%s' the first time you use it.

  • NHS.Age warning existence Style guide

    Do not use '%s'. Give the age, as in 'adults aged 65 and over', or say 'older people'.

  • NHS.AgeLimits suggestion existence Style guide

    If the exact age matters, say who is included, as in 'aged 50 and over': '%s'.

  • NHS.AltSkinTone suggestion existence scope: alt Style guide

    In alt text, describe the skin tone as 'light brown', 'medium brown', 'dark brown' or 'white': '%s'.

  • NHS.Ampersand warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Apostrophes warning substitution Style guide

    Use a straight apostrophe or quotation mark, not '%[2]s'.

  • NHS.Avoid warning existence Style guide

    Do not use '%s'. The A to Z of NHS health writing says what to write instead.

  • NHS.BlockCapitals warning existence Style guide

    Do not use block capitals: '%s'.

  • NHS.Brackets warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Calories warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Contractions warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Dashes warning substitution Style guide

    Use an en dash '%s' instead of '%s'.

  • NHS.Dates warning Std.DateTime.DateFormat Style guide

    Write dates as '6 August 2018': '%s'.

  • NHS.Decimals warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Disability warning substitution Style guide

    Use %s instead of '%s'.

  • NHS.FileSize warning existence Style guide

    Use MB for 1MB and over, and KB under 1MB: '%s'.

  • NHS.Fractions warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.HeadingCase suggestion capitalization scope: heading Style guide

    Use sentence case in headings: '%s'.

  • NHS.HeadingDepth suggestion existence scope: heading.h5 Style guide

    Avoid h5 headings. Simplify the structure of the page.

  • NHS.HeadingLength suggestion occurrence scope: heading.h1 Style guide

    Keep the h1 to 65 characters or fewer, including spaces.

  • NHS.HeadingPunctuation warning existence scope: heading Style guide

    Do not end a heading with a full stop.

  • NHS.HeadingQuestions suggestion existence scope: heading Style guide

    Write the heading as a statement, not a question.

  • NHS.Italics warning existence scope: emphasis Style guide

    Do not use italics: '%s'.

  • NHS.Jargon suggestion existence Style guide

    Explain '%s', or say it another way.

  • NHS.Latin suggestion Std.Abbreviations.Latin Style guide

    Use %s instead of '%s'.

  • NHS.LinkText warning existence scope: link Style guide

    '%s' does not say where the link goes. Use the title of the page.

  • NHS.ListConjunctions suggestion existence scope: list Style guide

    Do not end a list item with '%s'. Say in the lead-in line whether the items are options.

  • NHS.ListLength suggestion existence scope: doc(ul:has(> li:nth-of-type(7))) Style guide

    This list has more than 6 items. Split it, or cut it down.

  • NHS.Micrograms warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.MiddayMidnight warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Money warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.NewTab warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.NHSNumber warning existence Style guide

    Write an NHS number in 3 groups with spaces, like 999 123 4567: '%s'.

  • NHS.Numerals warning substitution Style guide

    Use the numeral '%s' instead of '%s'.

  • NHS.Ordinals warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.PDFLinks warning existence scope: raw Style guide

    End the text of a link to a PDF with '(PDF only, [file size])'.

  • NHS.Percentages warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Prefer suggestion substitution Style guide

    Consider %s instead of '%s'.

  • NHS.Pronouns warning Std.Usage.GenderedPronouns Style guide

    Use 'they' or 'you' instead of '%s'.

  • NHS.Ranges warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.SkinTone warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Temperature warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Terms warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Thousands warning existence Style guide

    Use a comma in a number over 999: '%s'.

  • NHS.Time warning Std.DateTime.TimeFormat Style guide

    Write times as '5pm' or '5:30pm': '%s'.

  • NHS.TitleContractions suggestion existence scope: heading.h1 Style guide

    Avoid the contraction '%s' in a page title.

  • NHS.Units warning substitution Style guide

    Use '%s' instead of '%s'.

  • NHS.Words warning substitution Style guide

    Use %s instead of '%s'.

  • NHSStrict 4 rules
  • NHSStrict.ParagraphLength suggestion metric scope: paragraph Style guide

    This paragraph has %s sentences. Keep it to 3 or fewer.

  • NHSStrict.PassiveVoice suggestion Std.Grammar.PassiveVoice Style guide

    '%s' looks like the passive voice. Say who does it.

  • NHSStrict.SentenceLength suggestion Std.Readability.SentenceLength Style guide

    %d words in one sentence. Keep it to 20 or fewer.

  • NHSStrict.Should suggestion existence Style guide

    '%s' can sound patronising. Say what to do instead.