MDN: Accessible Alternative to title Attribute

This is an effort to remove reliance on the title attribute throughout the MDN web docs. Part of #HackOnMDN.

Examples

These are pulled from the the MDN site.

Using title Attribute

The Map object holds key-value pairs. Any value (both objects and primitive values) may be used as either a key or a value.

iterable
An Array or other iterable object whose elements are key-value pairs (arrays with two elements, e.g. [[ 1, 'one' ],[ 2, 'two' ]]). Each key-value pair is added to the new Map; null values are treated as undefined.

With aria-describedby

The Map object holds key-value pairs. Any value (both objects and primitive values) may be used as either a key or a value.

iterable
An Array or other iterable object whose elements are key-value pairs (arrays with two elements, e.g. [[ 1, 'one' ],[ 2, 'two' ]]). Each key-value pair is added to the new Map; null values are treated as undefined.

Using a Following button

The Map object holds key-value pairs. Any value (both objects and primitive values ) may be used as either a key or a value.

iterable
An Array or other iterable object whose elements are key-value pairs (arrays with two elements, e.g. [[ 1, 'one' ],[ 2, 'two' ]]). Each key-value pair is added to the new Map; null values are treated as undefined.

What Is Happening

Known Issues

Supports: