File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 27
27
</a>
28
28
{{end}}
29
29
<div class="content comment-container">
30
- <div class="ui top attached header comment-header df ac sb">
30
+ <div class="ui top attached header comment-header df ac sb" role="heading" aria-level="3" >
31
31
<div class="comment-header-left df ac">
32
32
{{if .Issue.OriginalAuthor}}
33
33
<span class="text black bold">
69
69
{{end}}
70
70
</div>
71
71
</div>
72
- <div class="ui attached segment comment-body">
72
+ <div class="ui attached segment comment-body" role="article" >
73
73
<div class="render-content markup" {{if or $.Permission.IsAdmin $.HasIssuesOrPullsWritePermission $.IsIssuePoster}}data-can-edit="true"{{end}}>
74
74
{{if .Issue.RenderedContent}}
75
75
{{.Issue.RenderedContent|Str2html}}
85
85
</div>
86
86
{{$reactions := .Issue.Reactions.GroupByType}}
87
87
{{if $reactions}}
88
- <div class="ui attached segment reactions">
88
+ <div class="ui attached segment reactions" role="complementary" >
89
89
{{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/issues/%d/reactions" $.RepoLink .Issue.Index) "Reactions" $reactions}}
90
90
</div>
91
91
{{end}}
Original file line number Diff line number Diff line change 22
22
</a>
23
23
{{end}}
24
24
<div class="content comment-container">
25
- <div class="ui top attached header comment-header df ac sb">
25
+ <div class="ui top attached header comment-header df ac sb" role="heading" aria-level="3" >
26
26
<div class="comment-header-left df ac">
27
27
{{if .OriginalAuthor}}
28
28
<span class="text black bold mr-2">
69
69
{{end}}
70
70
</div>
71
71
</div>
72
- <div class="ui attached segment comment-body">
72
+ <div class="ui attached segment comment-body" role="article" >
73
73
<div class="render-content markup" {{if or $.Permission.IsAdmin $.HasIssuesOrPullsWritePermission (and $.IsSigned (eq $.SignedUserID .PosterID))}}data-can-edit="true"{{end}}>
74
74
{{if .RenderedContent}}
75
75
{{.RenderedContent|Str2html}}
85
85
</div>
86
86
{{$reactions := .Reactions.GroupByType}}
87
87
{{if $reactions}}
88
- <div class="ui attached segment reactions">
88
+ <div class="ui attached segment reactions" role="complementary" >
89
89
{{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID) "Reactions" $reactions}}
90
90
</div>
91
91
{{end}}
You can’t perform that action at this time.
0 commit comments