Is there a need for the title attribute on ordinary submit and reset buttons? eg <input type="submit" name="submit" value="submit" title="submit">
Does any user/form of technology benefit from its use?
| SitePoint Sponsor |





Is there a need for the title attribute on ordinary submit and reset buttons? eg <input type="submit" name="submit" value="submit" title="submit">
Does any user/form of technology benefit from its use?
You should use a title attribute on all of your form fields. For one, it will help users who make the most of screen readers (you can stick a description in the title attribute), and it's good for help in regular browsers like IE or Netscape because the "tooltip" that pops up displays the title. Titles just help make your form that much more usable, and don't take long to implement. I'm also fond of accesskeys, which help you move between form fields and links quicker, i.e. alt+s will submit the reply form on this page in Internet Explorer.
As for your example, I'm more inclined to do something like this:
Code:<input type="submit" name="Submit" value="Submit" title="Submit Form" accesskey="s" />





thanks vgarcia. alt + s tho is more used as an accesskey for skipping repetitive links, you might want to consider using another key.
talking of title attribute and screenreaders: if you're only going to call it "submit", there's no need for title. screenreaders read out the name of the button instead. other form fields which are not buttons (i.e. text input etc) should have a label associated with them. again, this makes a title superfluous.
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
WaSP Accessibility Task Force Member
splintered.co.uk | photographia.co.uk | redux.deviantart.com
Bookmarks