{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/govuk_elements/issues/64","labels_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/64/comments","events_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/64/events","html_url":"https://github.com/alphagov/govuk_elements/pull/64","id":67582053,"number":64,"title":"New errors and validation guidance","user":{"login":"gemmaleigh","id":417754,"avatar_url":"https://avatars.githubusercontent.com/u/417754?v=3","gravatar_id":"","url":"https://api.github.com/users/gemmaleigh","html_url":"https://github.com/gemmaleigh","followers_url":"https://api.github.com/users/gemmaleigh/followers","following_url":"https://api.github.com/users/gemmaleigh/following{/other_user}","gists_url":"https://api.github.com/users/gemmaleigh/gists{/gist_id}","starred_url":"https://api.github.com/users/gemmaleigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemmaleigh/subscriptions","organizations_url":"https://api.github.com/users/gemmaleigh/orgs","repos_url":"https://api.github.com/users/gemmaleigh/repos","events_url":"https://api.github.com/users/gemmaleigh/events{/privacy}","received_events_url":"https://api.github.com/users/gemmaleigh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-10T12:18:25Z","updated_at":"2015-04-15T15:45:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk_elements/pulls/64","html_url":"https://github.com/alphagov/govuk_elements/pull/64","diff_url":"https://github.com/alphagov/govuk_elements/pull/64.diff","patch_url":"https://github.com/alphagov/govuk_elements/pull/64.patch"},"body":"Validation styles and guidance, plus examples.\r\n\r\nThis can be previewed here: http://govuk-elements-test.herokuapp.com/#guide-errors\r\nwith static error examples on the index page and three example pages, following Léonie's advice.\r\n\r\n![gov uk elements - screenshot 1](https://cloud.githubusercontent.com/assets/417754/7087502/fc697dfa-df83-11e4-9eab-ba4d8e8ec562.png)\r\n![gov uk elements - screenshot 2](https://cloud.githubusercontent.com/assets/417754/7087504/ff8a9438-df83-11e4-9ea9-0d028397bfad.png)\r\n![gov uk elements - screenshot 3](https://cloud.githubusercontent.com/assets/417754/7087505/01f136a0-df84-11e4-8ceb-3f9e4aec9cb6.png)\r\n![gov uk elements - screenshot 4](https://cloud.githubusercontent.com/assets/417754/7087506/048e3a98-df84-11e4-8482-3596bb553278.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/alphagov/govuk_elements/issues/comments/93455742","html_url":"https://github.com/alphagov/govuk_elements/pull/64#issuecomment-93455742","issue_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/64","id":93455742,"user":{"login":"cjforms","id":8270092,"avatar_url":"https://avatars.githubusercontent.com/u/8270092?v=3","gravatar_id":"","url":"https://api.github.com/users/cjforms","html_url":"https://github.com/cjforms","followers_url":"https://api.github.com/users/cjforms/followers","following_url":"https://api.github.com/users/cjforms/following{/other_user}","gists_url":"https://api.github.com/users/cjforms/gists{/gist_id}","starred_url":"https://api.github.com/users/cjforms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjforms/subscriptions","organizations_url":"https://api.github.com/users/cjforms/orgs","repos_url":"https://api.github.com/users/cjforms/repos","events_url":"https://api.github.com/users/cjforms/events{/privacy}","received_events_url":"https://api.github.com/users/cjforms/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T15:45:05Z","updated_at":"2015-04-15T15:45:05Z","body":"Sure. We're discussing the problem of how to write the error messages on\nthe hackpad. Please join in on that discussion there.\n\nTo give some context about this pull request: its primary aims are\n1. to ensure that the error messages are accessible for people who use\nscreen readers, and also work for everyone else too\n2. to be an improvement to the existing rather minimal advice.\n\nNo doubt we'll be thinking some more about this advice once we've got our\nideas sorted out on writing the error messages.\nMeanwhile, this pull request moves us forward in helpful ways.\n\nBest\nCaroline\n\n\n\nCaroline Jarrett\nUser researcher / forms specialist\nGovernment Digital Service\n\nTwitter @cjforms\n07990 570647\n\nMy next GDS days\nMon 13 Apr: Aviation House\nTue 14 Apr: Aviation House\nWed 15 Apr: Aviation House\n\nMon 21 Apr: IOE workshop (am) Aviation House (pm)\nTue 22 Apr: Aviation House\nWed 23 Apr: Aviation House\n\n\n\n\nOn 15 April 2015 at 16:36, Matthew Ford <notifications@github.com> wrote:\n\n> Sure. However to counter that I would say that complex examples is where\n> we *do* need more examples/guidance.\n>\n> Even in this simpler example, if the error message isn't near the field in\n> question, users could confuse which field the error is related to as it's\n> close to the bottom of the preceding field. I know the border should help\n> with this, but say you have more than one line of help text I could see it\n> cause some issues.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/alphagov/govuk_elements/pull/64#issuecomment-93453022>\n> .\n>\n"}}