{"action":"closed","issue":{"url":"https://api.github.com/repos/18F/web-design-standards/issues/1162","repository_url":"https://api.github.com/repos/18F/web-design-standards","labels_url":"https://api.github.com/repos/18F/web-design-standards/issues/1162/labels{/name}","comments_url":"https://api.github.com/repos/18F/web-design-standards/issues/1162/comments","events_url":"https://api.github.com/repos/18F/web-design-standards/issues/1162/events","html_url":"https://github.com/18F/web-design-standards/issues/1162","id":154292473,"number":1162,"title":"[Refactor HTML/CSS] Button vs Link semantics","user":{"login":"el-mapache","id":1421848,"avatar_url":"https://avatars.githubusercontent.com/u/1421848?v=3","gravatar_id":"","url":"https://api.github.com/users/el-mapache","html_url":"https://github.com/el-mapache","followers_url":"https://api.github.com/users/el-mapache/followers","following_url":"https://api.github.com/users/el-mapache/following{/other_user}","gists_url":"https://api.github.com/users/el-mapache/gists{/gist_id}","starred_url":"https://api.github.com/users/el-mapache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/el-mapache/subscriptions","organizations_url":"https://api.github.com/users/el-mapache/orgs","repos_url":"https://api.github.com/users/el-mapache/repos","events_url":"https://api.github.com/users/el-mapache/events{/privacy}","received_events_url":"https://api.github.com/users/el-mapache/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/18F/web-design-standards/labels/[Category]%20Front%20end","name":"[Category] Front end","color":"0071bc"},{"url":"https://api.github.com/repos/18F/web-design-standards/labels/[Priority]%20Minor","name":"[Priority] Minor","color":"f9dede"},{"url":"https://api.github.com/repos/18F/web-design-standards/labels/[Status]%20Backlog","name":"[Status] Backlog","color":"f9c642"},{"url":"https://api.github.com/repos/18F/web-design-standards/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"00a6d2"}],"state":"closed","locked":false,"assignee":{"login":"msecret","id":1701077,"avatar_url":"https://avatars.githubusercontent.com/u/1701077?v=3","gravatar_id":"","url":"https://api.github.com/users/msecret","html_url":"https://github.com/msecret","followers_url":"https://api.github.com/users/msecret/followers","following_url":"https://api.github.com/users/msecret/following{/other_user}","gists_url":"https://api.github.com/users/msecret/gists{/gist_id}","starred_url":"https://api.github.com/users/msecret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msecret/subscriptions","organizations_url":"https://api.github.com/users/msecret/orgs","repos_url":"https://api.github.com/users/msecret/repos","events_url":"https://api.github.com/users/msecret/events{/privacy}","received_events_url":"https://api.github.com/users/msecret/received_events","type":"User","site_admin":false},"assignees":[{"login":"msecret","id":1701077,"avatar_url":"https://avatars.githubusercontent.com/u/1701077?v=3","gravatar_id":"","url":"https://api.github.com/users/msecret","html_url":"https://github.com/msecret","followers_url":"https://api.github.com/users/msecret/followers","following_url":"https://api.github.com/users/msecret/following{/other_user}","gists_url":"https://api.github.com/users/msecret/gists{/gist_id}","starred_url":"https://api.github.com/users/msecret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msecret/subscriptions","organizations_url":"https://api.github.com/users/msecret/orgs","repos_url":"https://api.github.com/users/msecret/repos","events_url":"https://api.github.com/users/msecret/events{/privacy}","received_events_url":"https://api.github.com/users/msecret/received_events","type":"User","site_admin":false},{"login":"maya","id":5249443,"avatar_url":"https://avatars.githubusercontent.com/u/5249443?v=3","gravatar_id":"","url":"https://api.github.com/users/maya","html_url":"https://github.com/maya","followers_url":"https://api.github.com/users/maya/followers","following_url":"https://api.github.com/users/maya/following{/other_user}","gists_url":"https://api.github.com/users/maya/gists{/gist_id}","starred_url":"https://api.github.com/users/maya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maya/subscriptions","organizations_url":"https://api.github.com/users/maya/orgs","repos_url":"https://api.github.com/users/maya/repos","events_url":"https://api.github.com/users/maya/events{/privacy}","received_events_url":"https://api.github.com/users/maya/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2016-05-11T16:57:19Z","updated_at":"2016-09-21T17:40:19Z","closed_at":"2016-09-21T17:40:19Z","body":"## Use of `<button>` vs. `<a>`\n\nIn our example templates, we have a few instances of using an anchor tag with an href of '#' to control page or component behavior. Semantically speaking, `<a>` should be used to link either to external resources or another section of the current document; a `<button>` should be used to control behavior.\n\nHere are some links around the issue: \n* http://stackoverflow.com/a/11899663\n* https://davidwalsh.name/html5-buttons\n\n**Acceptance Criteria**\n- [ ] create new css class for styling buttons like links\n- [ ] update `<a>` to `<button>` with the new class"}}
{"actor":{"display_login":"maya"}}