Black Lives Matter! ✊🏾

aria-details

Identifies the element that provides a detailed, extended description for the object. aria-details (property)

Links about aria-details

  1. Getting the details on aria-details | scottohara.me

    posted on

    Introduced in ARIA 1.1, aria-details is meant to help convey that there is additional information available for a particular element a user is interacting with.

Code sample

<img src="pythagorean.jpg" alt="Pythagorean Theorem" aria-details="det">
<details id="det">
<summary>Example</summary>
<p>
The Pythagorean Theorem is a relationship in Euclidean Geometry between the three sides of
a right triangle, where the square of the hypotenuse is the sum of the squares of the two
opposing sides.
</p>
</details>