Testing Labels

Simple examples of creating visually hidden labels for form controls that work in a screen reader. Each label, image alt attribute, or control title is prefaced with the word label, alt text or title to help identify it.

Hide labels using hidden styles

Enter month and year:

Enter birth month and year:  

Hide labels using offscreen styles

Enter month and year:

Enter birth month and year:  

Simulate labels with empty images

Enter month and year: alt text Select Month alt text Select Year

Enter birth month and year: alt text Enter month number 1 through 12  alt text Enter 4 digit year

Use title rather than label

Enter month and year:

Enter birth month and year:  

--=_mixed 00560FEB85256F04_=--