Commit Graph

30 Commits

Author SHA1 Message Date
Chris Hill-Scott
4df99bd27f Don’t allow paragraphs without class attribute
All paragraphs should have class="govuk-body", or be otherwise
custom-styled. This commit adds some extra checks to our test fixture
that looks for paragraphs that don’t have any styling. Our test coverage
is pretty good, so this should check almost all pages, and prevent
regressions.

I’ve done this in such a way that it can be extended for other elements
(e.g. links) in the future.
2020-05-29 17:11:01 +01:00
Rebecca Law
347209f5c0 Fix typo 2020-04-27 13:52:37 +01:00
Rebecca Law
8c7495ea45 Update the pricing page 2020-04-27 13:51:29 +01:00
Tom Byers
ee9f348ce4 Update all links to use GOVUK Frontend style
Includes:
- turning off :visited styles to match existing
  design
- swapping heading classes used to make links bold
  for the GOVUK Frontend bold override class
- adding visually hidden text to some links to
  make them work when isolated from their context

We may need to revisit whether some links, such as
those for documentation and features, may benefit
from having some indication that their target has
been visited.
2020-02-25 10:47:24 +00:00
Tom Byers
5b306dde4d Revert "Convert all links to govuk frontend" 2020-02-24 11:56:38 +00:00
Tom Byers
cd36182ea6 Update all links to use GOVUK Frontend style
Includes:
- turning off :visited styles to match existing
  design
- swapping heading classes used to make links bold
  for the GOVUK Frontend bold override class
- adding visually hidden text to some links to
  make them work when isolated from their context

We may need to revisit whether some links, such as
those for documentation and features, may benefit
from having some indication that their target has
been visited.
2020-02-20 09:11:26 +00:00
Tom Byers
1b1591cf20 Use details component on pricing page
Native `<details>` elements will work in most
evergreen browsers but the details component from
GOVUK Frontend adds missing accessibility
information through ARIA.
2020-02-14 14:41:17 +00:00
karlchillmaid
04dd047b19 Add anchors to headings 2020-02-13 11:40:23 +00:00
Tom Byers
da414beab9 Update pricing page with full welsh alphabet for SMS
accented characters rather than special characters. call them accented
as special is a bit wishy washy and doesn't explain what they actually
are. "Diacritics" is correct but too technical. Accented characters is
a happy middle ground

screanreaders struggle to distinguish accented letters, capitals, etc,
so by having a simple two column layout we can have the full unicode
glyph name, removing any ambiguity.
2019-12-03 13:27:13 +00:00
karlchillmaid
317227e95b Update content 2019-11-27 16:35:57 +00:00
Chris Hill-Scott
b64336b5da Fix details/summary 2019-10-17 16:23:21 +01:00
karlchillmaid
8696ceb43f Change 'set up' to 'add'
'Add' matches the buttons users will see in the service.
2019-10-17 15:25:31 +01:00
karlchillmaid
96a374044a Increase letter prices 2019-09-23 08:20:05 +01:00
karlchillmaid
4eeb71c432 Add brackets for VAT 2019-08-09 13:15:14 +01:00
karlchillmaid
23273e1b25 Update and move price increase information 2019-08-09 13:13:21 +01:00
karlchillmaid
2eb5e2ad50 Update content
Update introduction, text messages and letters
2019-08-09 11:53:12 +01:00
karlchillmaid
84c6958930 Add contact us 2019-07-11 15:35:52 +01:00
karlchillmaid
ba670cdcfc Add link to pricing 2019-07-10 15:16:22 +01:00
karlchillmaid
93acdd6de0 Update purchase order content 2019-07-10 15:01:13 +01:00
karlchillmaid
8f982bf042 Add abbreviations 2019-07-08 16:14:43 +01:00
karlchillmaid
4321476491 Update app/templates/views/pricing/how-to-pay.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-07-08 16:08:42 +01:00
karlchillmaid
edbb1ee1da Update app/templates/views/pricing/how-to-pay.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-07-08 16:08:34 +01:00
karlchillmaid
a6c455fe24 Update app/templates/views/pricing/how-to-pay.html
Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-07-08 16:08:26 +01:00
karlchillmaid
05e38ecb78 Updated How to pay content 2019-07-05 12:01:21 +01:00
Chris Hill-Scott
00bf77621f Don’t use plus to refer to VAT
Got some advice from the content community:

> I don't think we have a style on this - it doesn't really come up on
> GOV.UK mainstream.
>
> In your example, I'd go with something like 'less than £250 before
> VAT' or 'less than £250 (not including VAT)' to make it as clear as
> possible. Would that work?

I’ve gone with ’less than £250 (before VAT)’. I noticed that elsewhere
we’ve said ‘Each message costs 1.58 pence (plus VAT)’ so that feels
fairly consistent.
2019-06-04 13:50:01 +01:00
Chris Hill-Scott
399eff7215 Make a reusable ‘content’ template
This is for static content pages and makes sure they always have the
right column widths and sub navigation.
2019-06-04 13:49:39 +01:00
Chris Hill-Scott
77469e0710 Add left-hand navigation to pricing pages
So that you don’t have to use the footer navigation to switch between
these related pages. Matches the template we use for organising
features-related content.
2019-06-04 13:49:31 +01:00
Chris Hill-Scott
8f6089c62f Remove ‘How to pay’ section from pricing page
It’s on its own page now.
2019-06-04 13:49:24 +01:00
Chris Hill-Scott
22299ea97d Add ‘How to pay’ page
Content from https://docs.google.com/document/d/1uIFW8c7Vk0-FQ-d8H1FmNZLHKn_tOXWg5oUL8bbcZzw/edit?ts=5ced1ae4#
2019-06-04 13:49:16 +01:00
Chris Hill-Scott
20c4719d07 Move pricing template into own folder
So we can keep thing organised when adding more pricing-related content.
2019-06-04 13:04:24 +01:00