diff --git a/src/components/usage-page/content.tsx b/src/components/usage-page/content.tsx index 85009ca..b10994f 100644 --- a/src/components/usage-page/content.tsx +++ b/src/components/usage-page/content.tsx @@ -132,6 +132,30 @@ export default function (version: string, name = "heart", suffix = "") { }` )} +
+ Icons that are purely decorative content should have aria-hidden="true"
.
+ This will not visually hide the icon, but it will hide the element from assistive technology.
+
+ If the icon is interactive, it should have alternate text defined by adding an
+ aria-label
.
+
+ Alternatively, if the icon is inside of another element that it is describing, that element
+ should have the aria-label
added to it, and the icon should be hidden using
+ aria-hidden
.
+
See the{" "}