fix a11y for img alts
This commit is contained in:
		
							parent
							
								
									39b7481da3
								
							
						
					
					
						commit
						b2f08f67ad
					
				
					 3 changed files with 2 additions and 6 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| <img src="{{account.avatar_static}}"> | ||||
| <img alt="Profile picture for {{account.acct}}" src="{{account.avatar_static}}"> | ||||
| <style> | ||||
|   img { | ||||
|     width: 48px; | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ | |||
|     {{#if instanceUserAccount}} | ||||
|       <h2>Logged in as:</h2> | ||||
|       <div class="acct-current-user"> | ||||
|         <img alt="Avatar for {{instanceUserAccount.acct}}" | ||||
|         <img alt="Profile picture for {{instanceUserAccount.acct}}" | ||||
|              class="acct-avatar" src="{{instanceUserAccount.avatar}}" /> | ||||
|         <a class="acct-handle" rel="noopener" target="_blank" | ||||
|            href="{{instanceUserAccount.url}}">@{{instanceUserAccount.acct}}</a> | ||||
|  |  | |||
|  | @ -57,7 +57,6 @@ | |||
|   import { switchToTheme } from '../../_utils/themeEngine' | ||||
|   import { toast } from '../../_utils/toast' | ||||
|   import LoadingMask from '../../_components/LoadingMask' | ||||
|   import { fade } from 'svelte-transitions' | ||||
| 
 | ||||
|   const REDIRECT_URI = (typeof location !== 'undefined' ? | ||||
|       location.origin : 'https://pinafore.social') + '/settings/instances/add' | ||||
|  | @ -79,9 +78,6 @@ | |||
|       LoadingMask | ||||
|     }, | ||||
|     store: () => store, | ||||
|     transitions: { | ||||
|       fade | ||||
|     }, | ||||
|     methods: { | ||||
|       onSubmit: async function(event) { | ||||
|         event.preventDefault() | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue