Example file Using Title

The below is the static form with html code snippet that is used for this example. The reason for providing the code snippet is that one can access the source code easily even if it is viewed in the mobile platforms. In general, it might not be very easy to access the source code of the form when this is viewed in the mobile platforms. This example makes you understand how the labels are associated with the ‘title’ technique when you run the screen reader on this form across all the platforms.

First name:

Last name:


Select Gender


I agree the terms and conditions

source code

<br /> <span> First name: </span><br /> <input type="text" title="first name"/><br /> <span> Last name: </span><br /> <input type="text" title="last name"/><br /> <span> Age: </span><br /> <select title="age"><option value="10">10</option><option value="20">20</option><option value="30">30</option><option value="40">40</option></select></p> <fieldset> <legend> Select Gender </legend> <p><input type="radio" name="sex" title="male" checked> <span> Male </span><br /> <input type="radio" name="sex" title="female"> <span> Female </span><br /> </fieldset> <p><span> Comments: </span> <textarea title="Comments" rows="5" cols="50"> </textarea><br /> <input type="checkbox" name="terms1" title="I agree the terms and conditions"> <span> I agree the terms and conditions </span><br /> <input type="submit"/> <input type="button" value="reset"><br />

Leave a Reply

Your email address will not be published. Required fields are marked *