mirror of
				https://github.com/ZetaKebab/kesper.git
				synced 2025-11-04 08:09:49 +00:00 
			
		
		
		
	Added aria-label for the avatar/image of the author to post.hbs
no issue - Improve accessibility - Improve SEO (by improving accessibility)
This commit is contained in:
		
				
					committed by
					
						
						Sodbileg Gansukh
					
				
			
			
				
	
			
			
			
						parent
						
							276e2c9d01
						
					
				
				
					commit
					cf569ac7b3
				
			
							
								
								
									
										4
									
								
								post.hbs
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								post.hbs
									
									
									
									
									
								
							@@ -36,11 +36,11 @@ into the {body} tag of the default.hbs template --}}
 | 
				
			|||||||
                {{#foreach authors}}
 | 
					                {{#foreach authors}}
 | 
				
			||||||
                <li class="author-list-item">
 | 
					                <li class="author-list-item">
 | 
				
			||||||
                    {{#if profile_image}}
 | 
					                    {{#if profile_image}}
 | 
				
			||||||
                    <a href="{{url}}" class="author-avatar">
 | 
					                    <a href="{{url}}" class="author-avatar" aria-label="Read more of {{name}}">
 | 
				
			||||||
                        <img class="author-profile-image" src="{{img_url profile_image size="xs"}}" alt="{{name}}" />
 | 
					                        <img class="author-profile-image" src="{{img_url profile_image size="xs"}}" alt="{{name}}" />
 | 
				
			||||||
                    </a>
 | 
					                    </a>
 | 
				
			||||||
                    {{else}}
 | 
					                    {{else}}
 | 
				
			||||||
                    <a href="{{url}}" class="author-avatar author-profile-image">{{> "icons/avatar"}}</a>
 | 
					                    <a href="{{url}}" class="author-avatar author-profile-image" aria-label="Read more of {{name}}">{{> "icons/avatar"}}</a>
 | 
				
			||||||
                    {{/if}}
 | 
					                    {{/if}}
 | 
				
			||||||
                </li>
 | 
					                </li>
 | 
				
			||||||
                {{/foreach}}
 | 
					                {{/foreach}}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user