do not remove "for" for accessibility and reusability purposes
This commit is contained in:
		
							parent
							
								
									d52847635f
								
							
						
					
					
						commit
						1a011d2a65
					
				
					 2 changed files with 3 additions and 5 deletions
				
			
		|  | @ -2,11 +2,11 @@ | |||
|      <head> | ||||
|           <script src="../../styles/external/materialize/js/materialize.js"></script>  | ||||
|           <script src="../../scripts/pages/popup.js" type="module"></script>  | ||||
|           <link href="../styles/popup.css" rel="stylesheet" type="text/css" /> | ||||
|           <link href="../../styles/popup.css" rel="stylesheet" type="text/css" /> | ||||
|      </head> | ||||
|      <body class="loading"> | ||||
|           <label class="flow-text" data-text="loading_text"></label> | ||||
|           <div class="progress"> | ||||
|           <label class="flow-text" for="loading"></label> | ||||
|           <div class="progress" data-value="progress"> | ||||
|                <div class="indeterminate"></div> | ||||
|           </div> | ||||
|      </body> | ||||
|  |  | |||
|  | @ -149,8 +149,6 @@ export default class windowman { | |||
| 					} else { | ||||
| 						text_element.innerText = text_inserted; | ||||
| 					} | ||||
| 
 | ||||
| 					text_element.removeAttribute(`for`); | ||||
| 				}); | ||||
| 
 | ||||
| 				delete text_elements[`content`]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue