在我的表单中,我有一个提交按钮,它是一个图像(按钮+文本)。它有一个空的value=""
,所以它不会侵入按钮图像。
如何使需要辅助功能的用户可以理解此按钮?
<input type="submit" name="submit" id="submit" value="" class="button" style="background: url(img/enter-now-button.png) no-repeat;" />
(隐藏的)标签是否合适?
<label class="hideForm" for="submit">Submit Form:</label>
<input type="submit" name="submit" id="submit" value="" class="button" style="background: url(img/enter-now-button.png) no-repeat;" />