{"action":"created","issue":{"url":"https://api.github.com/repos/moneyadviceservice/publify/issues/201","repository_url":"https://api.github.com/repos/moneyadviceservice/publify","labels_url":"https://api.github.com/repos/moneyadviceservice/publify/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/moneyadviceservice/publify/issues/201/comments","events_url":"https://api.github.com/repos/moneyadviceservice/publify/issues/201/events","html_url":"https://github.com/moneyadviceservice/publify/pull/201","id":174227802,"number":201,"title":"7558 - Blog: Post search focus should remain on the search box","user":{"login":"johnplayer1982","id":13165846,"avatar_url":"https://avatars.githubusercontent.com/u/13165846?v=3","gravatar_id":"","url":"https://api.github.com/users/johnplayer1982","html_url":"https://github.com/johnplayer1982","followers_url":"https://api.github.com/users/johnplayer1982/followers","following_url":"https://api.github.com/users/johnplayer1982/following{/other_user}","gists_url":"https://api.github.com/users/johnplayer1982/gists{/gist_id}","starred_url":"https://api.github.com/users/johnplayer1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnplayer1982/subscriptions","organizations_url":"https://api.github.com/users/johnplayer1982/orgs","repos_url":"https://api.github.com/users/johnplayer1982/repos","events_url":"https://api.github.com/users/johnplayer1982/events{/privacy}","received_events_url":"https://api.github.com/users/johnplayer1982/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-31T09:36:50Z","updated_at":"2016-08-31T10:34:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/moneyadviceservice/publify/pulls/201","html_url":"https://github.com/moneyadviceservice/publify/pull/201","diff_url":"https://github.com/moneyadviceservice/publify/pull/201.diff","patch_url":"https://github.com/moneyadviceservice/publify/pull/201.patch"},"body":"## 7558 - Blog: Post search focus should remain on the search box\r\n\r\n|![image](https://cloud.githubusercontent.com/assets/13165846/18122399/34eace86-6f61-11e6-91ee-8012e340c6f0.png)|\r\n|----------|\r\n|Do not merge this until the below PR is also merged, the reason for this is that this update uses a new dough component which is waiting to be merged\r\nhttps://github.com/moneyadviceservice/dough/pull/275|\r\n\r\n**The Problem**\r\n\r\nWhen a user performed a search on the blog, the focus would be in the usual place on the results page, so they would have to tab all the way down the the results.\r\n\r\n**The Solution**\r\n\r\n|1) Force focus to the 1st result if there is a result|\r\n|----------|\r\n|<img width=\"500\" alt=\"article found\" src=\"https://cloud.githubusercontent.com/assets/13165846/18122029/6ad8fd9e-6f5f-11e6-9d0a-a24657afb770.png\">|\r\n\r\n|2) If no result is found, the focus is on the search bar|\r\n|----------|\r\n|<img width=\"500\" alt=\"no articles found\" src=\"https://cloud.githubusercontent.com/assets/13165846/18122053/858c2df0-6f5f-11e6-85d6-33dd2e804a13.png\">|\r\n\r\n|3)If a user goes directly to the search page, the focus is in the normal place at the top with the accessibility links|\r\n|----------|\r\n|<img width=\"500\" alt=\"directly to search\" src=\"https://cloud.githubusercontent.com/assets/13165846/18122079/9986192e-6f5f-11e6-83d0-885b561c8043.png\">|\r\n\r\n## Testing\r\n\r\nTo test this change you must pull this branch of dough:\r\nhttps://github.com/moneyadviceservice/dough/pull/275\r\n\r\nAnd link it to your local publify, as this contains the new dough component used in this PR, for instructions on how to use a local version of dough, see here: https://github.com/moneyadviceservice/dough\r\n\r\n## Technical Debt\r\n\r\nPublify was still using a very old version of dough, which needed to be updated, and also add Yeast into the mix for the MAS specific SASS mixins and styling."},"comment":{"url":"https://api.github.com/repos/moneyadviceservice/publify/issues/comments/243725007","html_url":"https://github.com/moneyadviceservice/publify/pull/201#issuecomment-243725007","issue_url":"https://api.github.com/repos/moneyadviceservice/publify/issues/201","id":243725007,"user":{"login":"pmcostello","id":10046127,"avatar_url":"https://avatars.githubusercontent.com/u/10046127?v=3","gravatar_id":"","url":"https://api.github.com/users/pmcostello","html_url":"https://github.com/pmcostello","followers_url":"https://api.github.com/users/pmcostello/followers","following_url":"https://api.github.com/users/pmcostello/following{/other_user}","gists_url":"https://api.github.com/users/pmcostello/gists{/gist_id}","starred_url":"https://api.github.com/users/pmcostello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmcostello/subscriptions","organizations_url":"https://api.github.com/users/pmcostello/orgs","repos_url":"https://api.github.com/users/pmcostello/repos","events_url":"https://api.github.com/users/pmcostello/events{/privacy}","received_events_url":"https://api.github.com/users/pmcostello/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T10:34:10Z","updated_at":"2016-08-31T10:34:10Z","body":"👍 "}}
{"actor":{"display_login":"pmcostello"}}