Accessibility Features

The HTML 4.01 Recommendation added a few form elements and attributes that aid in accessibility . Some provide improved ways to group and label form structure and content. Others provide keyboard alternatives for selecting and activating (such as bringing focus to) form fields.

Tip

The added benefit of elements that describe the structure and relationships within form content is that they provide good “hooks” for applying style sheet rules, as addressed briefly at the end of this chapter.

Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.