mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 20:48:42 +01:00
label的for属性只对应id,给input补上id属性
This commit is contained in:
parent
56dfd2f093
commit
a1b1915dfb
@ -47,7 +47,7 @@
|
||||
<div class="site-search col-3 kit-hidden-tb">
|
||||
<form id="search" method="post" action="<?php $this->options->siteUrl(); ?>" role="search">
|
||||
<label for="s" class="sr-only"><?php _e('搜索关键字'); ?></label>
|
||||
<input type="text" name="s" class="text" placeholder="<?php _e('输入关键字搜索'); ?>" />
|
||||
<input type="text" id="s" name="s" class="text" placeholder="<?php _e('输入关键字搜索'); ?>" />
|
||||
<button type="submit" class="submit"><?php _e('搜索'); ?></button>
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user