alphagov/verify-local-patterns

CT – start page – 'check if you're eligible' link style

Opened this issue · 3 comments

Northumberland:
screen shot 2017-09-25 at 12 12 03

Example council:
screen shot 2017-09-25 at 12 14 07

Comments:

  • 'Check if you're eligible' should be an inline link rather than a button link, i.e. the style Northumberland uses for 'find your local council' lower on the page.
  • The dash afterwards should be an n-dash not a hyphen ( – not - ) if your CMS allows this.

@joanneSouthern @sanjaypoyzer

@joanneSouthern Marking up links as buttons is an accessibility issue.

More info from MDN:

Buttons are expected to be triggered using the Space key, while links are expected to be triggered through the Enter key. In other words, when links are used to behave like buttons, adding role="button" alone is not sufficient. It will also be necessary to add a key event handler that listens for the Space key in order to be consistent with native buttons.

@joanneSouthern the style Northumberland uses for 'find your local council' lower down on the page works for opening a different (external) page? Is it possible to introduce that style for internal links as there are several through the CT and PP journeys. The Start page has several:

screen shot 2017-09-28 at 16 15 14