mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	accessibility: Add button role and tabindex to sender names.
This facilitates interacting with them via keyboard.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							fb54ea82b2
						
					
				
				
					commit
					c0a8f0a66e
				
			@@ -15,7 +15,7 @@
 | 
			
		||||
                            </div>
 | 
			
		||||
                            {{#if status_message}}
 | 
			
		||||
                                <span class="sender-status">
 | 
			
		||||
                                    <span class="sender_name-in-status auto-select sender_info_hover">{{msg/sender_full_name}}</span>
 | 
			
		||||
                                    <span class="sender_name-in-status auto-select sender_info_hover" role="button" tabindex="0">{{msg/sender_full_name}}</span>
 | 
			
		||||
                                    {{#if sender_is_bot}}
 | 
			
		||||
                                    <i class="zulip-icon bot" aria-label="{{t 'Bot' }}"></i>
 | 
			
		||||
                                    {{/if}}
 | 
			
		||||
@@ -27,7 +27,7 @@
 | 
			
		||||
                                    {{/if_and}}
 | 
			
		||||
                                </span>
 | 
			
		||||
                            {{else}}
 | 
			
		||||
                                <span class="sender_name auto-select">{{msg/sender_full_name}}</span>
 | 
			
		||||
                                <span class="sender_name auto-select" role="button" tabindex="0">{{msg/sender_full_name}}</span>
 | 
			
		||||
                                {{#if sender_is_bot}}
 | 
			
		||||
                                <i class="zulip-icon bot" aria-label="{{t 'Bot' }}"></i>
 | 
			
		||||
                                {{/if}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user