{"action":"created","comment":{"url":"https://api.github.com/repos/loomio/loomio/pulls/comments/29398485","id":29398485,"diff_hunk":"@@ -1,141 +1,142 @@\n-%section#contents\n-  %h1#help-header= t :\"new_help.contents.title\"\n-  .row\n-    .col-sm-3\n-      %ul\n+%section{\"role\" => \"region\", \"aria-labelledby\" => \"table-of-contents\"}\n+  #contents\n+    %h2#table-of-contents= t :\"new_help.contents.title\"\n+    .row\n+      .col-sm-3\n+        %ul\n+          %p.single-item","path":"app/views/help/_contents.html.haml","position":12,"original_position":12,"commit_id":"dd7df8700fe533c58fdbc3a30f7e3e946d6b86ae","original_commit_id":"dd7df8700fe533c58fdbc3a30f7e3e946d6b86ae","user":{"login":"rdbartlett","id":970124,"avatar_url":"https://avatars.githubusercontent.com/u/970124?v=3","gravatar_id":"","url":"https://api.github.com/users/rdbartlett","html_url":"https://github.com/rdbartlett","followers_url":"https://api.github.com/users/rdbartlett/followers","following_url":"https://api.github.com/users/rdbartlett/following{/other_user}","gists_url":"https://api.github.com/users/rdbartlett/gists{/gist_id}","starred_url":"https://api.github.com/users/rdbartlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdbartlett/subscriptions","organizations_url":"https://api.github.com/users/rdbartlett/orgs","repos_url":"https://api.github.com/users/rdbartlett/repos","events_url":"https://api.github.com/users/rdbartlett/events{/privacy}","received_events_url":"https://api.github.com/users/rdbartlett/received_events","type":"User","site_admin":false},"body":"Suggest that all these `.single-item` and `.top-level` elements should be `%li`'s with `h3`'s inside them. So like:\r\n\r\n```\r\n         %li.single-item\r\n           %h3\r\n             %a{href: \"#how-loomio-works\"}= \"How Loomio works\"\r\n         %li.top-level\r\n           %h3\r\n             %a{href: \"#getting-started\"}= t :\"new_help.contents.getting_started.title_html\"\r\n         %li\r\n           %a{href: \"#starting-new-group\"}= t :\"new_help.contents.getting_started.starting_new_group_html\"\r\n```\r\n\r\nAlso I wonder if you need the class selector at all, or if you can use style rules like `#contents %ul %li %h3{}` but I don't really have a strong view one way or the other on that.","created_at":"2015-04-30T01:46:10Z","updated_at":"2015-04-30T01:46:10Z","html_url":"https://github.com/loomio/loomio/pull/2128#discussion_r29398485","pull_request_url":"https://api.github.com/repos/loomio/loomio/pulls/2128","_links":{"self":{"href":"https://api.github.com/repos/loomio/loomio/pulls/comments/29398485"},"html":{"href":"https://github.com/loomio/loomio/pull/2128#discussion_r29398485"},"pull_request":{"href":"https://api.github.com/repos/loomio/loomio/pulls/2128"}}},"pull_request":{"url":"https://api.github.com/repos/loomio/loomio/pulls/2128","id":34421248,"html_url":"https://github.com/loomio/loomio/pull/2128","diff_url":"https://github.com/loomio/loomio/pull/2128.diff","patch_url":"https://github.com/loomio/loomio/pull/2128.patch","issue_url":"https://api.github.com/repos/loomio/loomio/issues/2128","number":2128,"state":"open","locked":false,"title":"Fix headings, add labels to sections","user":{"login":"HSalmon","id":2882097,"avatar_url":"https://avatars.githubusercontent.com/u/2882097?v=3","gravatar_id":"","url":"https://api.github.com/users/HSalmon","html_url":"https://github.com/HSalmon","followers_url":"https://api.github.com/users/HSalmon/followers","following_url":"https://api.github.com/users/HSalmon/following{/other_user}","gists_url":"https://api.github.com/users/HSalmon/gists{/gist_id}","starred_url":"https://api.github.com/users/HSalmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HSalmon/subscriptions","organizations_url":"https://api.github.com/users/HSalmon/orgs","repos_url":"https://api.github.com/users/HSalmon/repos","events_url":"https://api.github.com/users/HSalmon/events{/privacy}","received_events_url":"https://api.github.com/users/HSalmon/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-30T01:18:54Z","updated_at":"2015-04-30T01:46:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7426caf40a28af1d63f3f6c36460f43c704a62e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/loomio/loomio/pulls/2128/commits","review_comments_url":"https://api.github.com/repos/loomio/loomio/pulls/2128/comments","review_comment_url":"https://api.github.com/repos/loomio/loomio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/loomio/loomio/issues/2128/comments","statuses_url":"https://api.github.com/repos/loomio/loomio/statuses/dd7df8700fe533c58fdbc3a30f7e3e946d6b86ae","head":{"label":"loomio:make-help-docs-more-accessible","ref":"make-help-docs-more-accessible","sha":"dd7df8700fe533c58fdbc3a30f7e3e946d6b86ae","user":{"login":"loomio","id":1896739,"avatar_url":"https://avatars.githubusercontent.com/u/1896739?v=3","gravatar_id":"","url":"https://api.github.com/users/loomio","html_url":"https://github.com/loomio","followers_url":"https://api.github.com/users/loomio/followers","following_url":"https://api.github.com/users/loomio/following{/other_user}","gists_url":"https://api.github.com/users/loomio/gists{/gist_id}","starred_url":"https://api.github.com/users/loomio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loomio/subscriptions","organizations_url":"https://api.github.com/users/loomio/orgs","repos_url":"https://api.github.com/users/loomio/repos","events_url":"https://api.github.com/users/loomio/events{/privacy}","received_events_url":"https://api.github.com/users/loomio/received_events","type":"Organization","site_admin":false},"repo":{"id":2731301,"name":"loomio","full_name":"loomio/loomio","owner":{"login":"loomio","id":1896739,"avatar_url":"https://avatars.githubusercontent.com/u/1896739?v=3","gravatar_id":"","url":"https://api.github.com/users/loomio","html_url":"https://github.com/loomio","followers_url":"https://api.github.com/users/loomio/followers","following_url":"https://api.github.com/users/loomio/following{/other_user}","gists_url":"https://api.github.com/users/loomio/gists{/gist_id}","starred_url":"https://api.github.com/users/loomio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loomio/subscriptions","organizations_url":"https://api.github.com/users/loomio/orgs","repos_url":"https://api.github.com/users/loomio/repos","events_url":"https://api.github.com/users/loomio/events{/privacy}","received_events_url":"https://api.github.com/users/loomio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/loomio/loomio","description":"Loomio is an open-source web application that helps groups make better decisions together.","fork":false,"url":"https://api.github.com/repos/loomio/loomio","forks_url":"https://api.github.com/repos/loomio/loomio/forks","keys_url":"https://api.github.com/repos/loomio/loomio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loomio/loomio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loomio/loomio/teams","hooks_url":"https://api.github.com/repos/loomio/loomio/hooks","issue_events_url":"https://api.github.com/repos/loomio/loomio/issues/events{/number}","events_url":"https://api.github.com/repos/loomio/loomio/events","assignees_url":"https://api.github.com/repos/loomio/loomio/assignees{/user}","branches_url":"https://api.github.com/repos/loomio/loomio/branches{/branch}","tags_url":"https://api.github.com/repos/loomio/loomio/tags","blobs_url":"https://api.github.com/repos/loomio/loomio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loomio/loomio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loomio/loomio/git/refs{/sha}","trees_url":"https://api.github.com/repos/loomio/loomio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loomio/loomio/statuses/{sha}","languages_url":"https://api.github.com/repos/loomio/loomio/languages","stargazers_url":"https://api.github.com/repos/loomio/loomio/stargazers","contributors_url":"https://api.github.com/repos/loomio/loomio/contributors","subscribers_url":"https://api.github.com/repos/loomio/loomio/subscribers","subscription_url":"https://api.github.com/repos/loomio/loomio/subscription","commits_url":"https://api.github.com/repos/loomio/loomio/commits{/sha}","git_commits_url":"https://api.github.com/repos/loomio/loomio/git/commits{/sha}","comments_url":"https://api.github.com/repos/loomio/loomio/comments{/number}","issue_comment_url":"https://api.github.com/repos/loomio/loomio/issues/comments{/number}","contents_url":"https://api.github.com/repos/loomio/loomio/contents/{+path}","compare_url":"https://api.github.com/repos/loomio/loomio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loomio/loomio/merges","archive_url":"https://api.github.com/repos/loomio/loomio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loomio/loomio/downloads","issues_url":"https://api.github.com/repos/loomio/loomio/issues{/number}","pulls_url":"https://api.github.com/repos/loomio/loomio/pulls{/number}","milestones_url":"https://api.github.com/repos/loomio/loomio/milestones{/number}","notifications_url":"https://api.github.com/repos/loomio/loomio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loomio/loomio/labels{/name}","releases_url":"https://api.github.com/repos/loomio/loomio/releases{/id}","created_at":"2011-11-08T03:27:12Z","updated_at":"2015-04-29T23:49:53Z","pushed_at":"2015-04-30T01:18:54Z","git_url":"git://github.com/loomio/loomio.git","ssh_url":"git@github.com:loomio/loomio.git","clone_url":"https://github.com/loomio/loomio.git","svn_url":"https://github.com/loomio/loomio","homepage":"www.loomio.org","size":162455,"stargazers_count":883,"watchers_count":883,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":280,"mirror_url":null,"open_issues_count":68,"forks":280,"open_issues":68,"watchers":883,"default_branch":"master"}},"base":{"label":"loomio:master","ref":"master","sha":"9e37aa70544093f3e654ac74af1c0572eb9d124a","user":{"login":"loomio","id":1896739,"avatar_url":"https://avatars.githubusercontent.com/u/1896739?v=3","gravatar_id":"","url":"https://api.github.com/users/loomio","html_url":"https://github.com/loomio","followers_url":"https://api.github.com/users/loomio/followers","following_url":"https://api.github.com/users/loomio/following{/other_user}","gists_url":"https://api.github.com/users/loomio/gists{/gist_id}","starred_url":"https://api.github.com/users/loomio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loomio/subscriptions","organizations_url":"https://api.github.com/users/loomio/orgs","repos_url":"https://api.github.com/users/loomio/repos","events_url":"https://api.github.com/users/loomio/events{/privacy}","received_events_url":"https://api.github.com/users/loomio/received_events","type":"Organization","site_admin":false},"repo":{"id":2731301,"name":"loomio","full_name":"loomio/loomio","owner":{"login":"loomio","id":1896739,"avatar_url":"https://avatars.githubusercontent.com/u/1896739?v=3","gravatar_id":"","url":"https://api.github.com/users/loomio","html_url":"https://github.com/loomio","followers_url":"https://api.github.com/users/loomio/followers","following_url":"https://api.github.com/users/loomio/following{/other_user}","gists_url":"https://api.github.com/users/loomio/gists{/gist_id}","starred_url":"https://api.github.com/users/loomio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loomio/subscriptions","organizations_url":"https://api.github.com/users/loomio/orgs","repos_url":"https://api.github.com/users/loomio/repos","events_url":"https://api.github.com/users/loomio/events{/privacy}","received_events_url":"https://api.github.com/users/loomio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/loomio/loomio","description":"Loomio is an open-source web application that helps groups make better decisions together.","fork":false,"url":"https://api.github.com/repos/loomio/loomio","forks_url":"https://api.github.com/repos/loomio/loomio/forks","keys_url":"https://api.github.com/repos/loomio/loomio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loomio/loomio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loomio/loomio/teams","hooks_url":"https://api.github.com/repos/loomio/loomio/hooks","issue_events_url":"https://api.github.com/repos/loomio/loomio/issues/events{/number}","events_url":"https://api.github.com/repos/loomio/loomio/events","assignees_url":"https://api.github.com/repos/loomio/loomio/assignees{/user}","branches_url":"https://api.github.com/repos/loomio/loomio/branches{/branch}","tags_url":"https://api.github.com/repos/loomio/loomio/tags","blobs_url":"https://api.github.com/repos/loomio/loomio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loomio/loomio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loomio/loomio/git/refs{/sha}","trees_url":"https://api.github.com/repos/loomio/loomio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loomio/loomio/statuses/{sha}","languages_url":"https://api.github.com/repos/loomio/loomio/languages","stargazers_url":"https://api.github.com/repos/loomio/loomio/stargazers","contributors_url":"https://api.github.com/repos/loomio/loomio/contributors","subscribers_url":"https://api.github.com/repos/loomio/loomio/subscribers","subscription_url":"https://api.github.com/repos/loomio/loomio/subscription","commits_url":"https://api.github.com/repos/loomio/loomio/commits{/sha}","git_commits_url":"https://api.github.com/repos/loomio/loomio/git/commits{/sha}","comments_url":"https://api.github.com/repos/loomio/loomio/comments{/number}","issue_comment_url":"https://api.github.com/repos/loomio/loomio/issues/comments{/number}","contents_url":"https://api.github.com/repos/loomio/loomio/contents/{+path}","compare_url":"https://api.github.com/repos/loomio/loomio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loomio/loomio/merges","archive_url":"https://api.github.com/repos/loomio/loomio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loomio/loomio/downloads","issues_url":"https://api.github.com/repos/loomio/loomio/issues{/number}","pulls_url":"https://api.github.com/repos/loomio/loomio/pulls{/number}","milestones_url":"https://api.github.com/repos/loomio/loomio/milestones{/number}","notifications_url":"https://api.github.com/repos/loomio/loomio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loomio/loomio/labels{/name}","releases_url":"https://api.github.com/repos/loomio/loomio/releases{/id}","created_at":"2011-11-08T03:27:12Z","updated_at":"2015-04-29T23:49:53Z","pushed_at":"2015-04-30T01:18:54Z","git_url":"git://github.com/loomio/loomio.git","ssh_url":"git@github.com:loomio/loomio.git","clone_url":"https://github.com/loomio/loomio.git","svn_url":"https://github.com/loomio/loomio","homepage":"www.loomio.org","size":162455,"stargazers_count":883,"watchers_count":883,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":280,"mirror_url":null,"open_issues_count":68,"forks":280,"open_issues":68,"watchers":883,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/loomio/loomio/pulls/2128"},"html":{"href":"https://github.com/loomio/loomio/pull/2128"},"issue":{"href":"https://api.github.com/repos/loomio/loomio/issues/2128"},"comments":{"href":"https://api.github.com/repos/loomio/loomio/issues/2128/comments"},"review_comments":{"href":"https://api.github.com/repos/loomio/loomio/pulls/2128/comments"},"review_comment":{"href":"https://api.github.com/repos/loomio/loomio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/loomio/loomio/pulls/2128/commits"},"statuses":{"href":"https://api.github.com/repos/loomio/loomio/statuses/dd7df8700fe533c58fdbc3a30f7e3e946d6b86ae"}}}}