mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Remove href="javascript:;" in "save topics (Done)" button (#21813)
				
					
				
			To use an anchor tag as a button and have it be accessible I added `role="button" tabindex="0"`, [reference](https://stackoverflow.com/a/10510353/7414734). * Closes #19912
This commit is contained in:
		@@ -47,7 +47,7 @@
 | 
			
		||||
				</div>
 | 
			
		||||
			</div>
 | 
			
		||||
			<div class="two wide column">
 | 
			
		||||
				<a class="ui button primary" href="javascript:;" id="save_topic"
 | 
			
		||||
				<a class="ui button primary" role="button" tabindex="0" id="save_topic"
 | 
			
		||||
				data-link="{{.RepoLink}}/topics">{{.locale.Tr "repo.topic.done"}}</a>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user