Skip to content

Glossary: Web Accessibility

data- attribute

Also written: data-name, dataset

A custom HTML attribute for storing extra data on an element, which a script reads. The shop's Add to cart buttons store the product name in data-name.

Where the book teaches it