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:

Enter birth month and year:  

Use title rather than label

Enter month and year:

Enter birth month and year:  

--=_mixed 0042461985256F08_=--