mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-26 01:59:02 +02:00 
			
		
		
		
	feat(a11y): set autocomplete for protected session
This commit is contained in:
		
							parent
							
								
									8ec97602c8
								
							
						
					
					
						commit
						0c5cd66eae
					
				| @ -16,7 +16,7 @@ const TPL = /*html*/` | |||||||
|             <form class="protected-session-password-form"> |             <form class="protected-session-password-form"> | ||||||
|                 <div class="modal-body"> |                 <div class="modal-body"> | ||||||
|                     <label for="protected-session-password" class="col-form-label">${t("protected_session_password.form_label")}</label> |                     <label for="protected-session-password" class="col-form-label">${t("protected_session_password.form_label")}</label> | ||||||
|                     <input id="protected-session-password" class="form-control protected-session-password" type="password"> |                     <input id="protected-session-password" class="form-control protected-session-password" type="password" autocomplete="current-password"> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="modal-footer"> |                 <div class="modal-footer"> | ||||||
|                     <button class="btn btn-primary">${t("protected_session_password.start_button")}</button> |                     <button class="btn btn-primary">${t("protected_session_password.start_button")}</button> | ||||||
|  | |||||||
| @ -20,7 +20,7 @@ const TPL = /*html*/` | |||||||
|     <form class="protected-session-password-form"> |     <form class="protected-session-password-form"> | ||||||
|         <div class="form-group"> |         <div class="form-group"> | ||||||
|             <label for="protected-session-password-in-detail">${t("protected_session.enter_password_instruction")}</label> |             <label for="protected-session-password-in-detail">${t("protected_session.enter_password_instruction")}</label> | ||||||
|             <input id="protected-session-password-in-detail" class="form-control protected-session-password" type="password" autofocus> |             <input id="protected-session-password-in-detail" class="form-control protected-session-password" type="password" autofocus autocomplete="current-password"> | ||||||
|         </div> |         </div> | ||||||
| 
 | 
 | ||||||
|         <button class="btn btn-primary">${t("protected_session.start_session_button")}</button> |         <button class="btn btn-primary">${t("protected_session.start_session_button")}</button> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran